Skip to main content



      Home
Home » Language IDEs » Java Development Tools (JDT) » JDT.DEBUG - Terminating ILaunches does not completely work
JDT.DEBUG - Terminating ILaunches does not completely work [message #89770] Wed, 27 August 2003 16:16 Go to next message
Eclipse UserFriend
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 Go to previous message
Eclipse UserFriend
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
>
>
>
Previous Topic:Resource bundle accessor class generation
Next Topic:Java editor as a page in a multipage editor
Goto Forum:
  


Current Time: Tue Jul 22 00:54:32 EDT 2025

Powered by FUDForum. Page generated in 0.38263 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top