JDT.DEBUG - Terminating ILaunches does not completely work [message #89770] |
Wed, 27 August 2003 16:16  |
Eclipse User |
|
|
|
Originally posted by: glongman.intelligentworks.nospam.com
I have a reference to an ILaunch that I want to kill.
a snippet:
BusyIndicator.showWhile(Display.getCurrent(), new Runnable()
{
public void run()
{
try
{
((ITerminate) fLaunch).terminate();
} catch (DebugException e)
{
ErrorDialog.openError(
JettyPlugin.getActiveWorkbenchShell(),
"Jetty Web - Unable to Terminate",
e.getMessage(),
e.getStatus());
JettyPlugin.log(e);
}
}
});
Executing this code terminates the process in the Debug perspective, but I'm
left with the VM still running and the console log still containing info for
that VM.
Is there something I'm doing wrong? Eclipse 2.1.1 Win2K JDK 1.4.1
Cheers,
Geoff
|
|
|
Re: JDT.DEBUG - Terminating ILaunches does not completely work [message #89801 is a reply to message #89770] |
Wed, 27 August 2003 16:38  |
Eclipse User |
|
|
|
Originally posted by: glongman.intelligentworks.nospam.com
Nevermind, it just works now.
Geoff
"G Longman" <glongman@intelligentworks.nospam.com> wrote in message
news:bij3fu$cih$1@eclipse.org...
> I have a reference to an ILaunch that I want to kill.
>
> a snippet:
>
> BusyIndicator.showWhile(Display.getCurrent(), new Runnable()
> {
> public void run()
> {
> try
> {
> ((ITerminate) fLaunch).terminate();
> } catch (DebugException e)
> {
> ErrorDialog.openError(
> JettyPlugin.getActiveWorkbenchShell(),
> "Jetty Web - Unable to Terminate",
> e.getMessage(),
> e.getStatus());
> JettyPlugin.log(e);
> }
> }
> });
>
> Executing this code terminates the process in the Debug perspective, but
I'm
> left with the VM still running and the console log still containing info
for
> that VM.
>
> Is there something I'm doing wrong? Eclipse 2.1.1 Win2K JDK 1.4.1
>
> Cheers,
>
> Geoff
>
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.38263 seconds