Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [Dltk-dev] ScriptDebugTarget.terminate(boolean) is waiting for process for THREAD_TERMINATION_TIMEOUT

Hi Gabriel,

Before waiting 5 second it sends "stop" command over DBGP protocol, so process have some time to exit.
How does your debug engine work?

Regards,
Alex

On Wed, Aug 4, 2010 at 16:54, Gabriel Petrovay <gabipetrovay@xxxxxxxxx> wrote:
Hi,

In Debug mode, when one stops a debug session through an ILaunch,
ScriptDebugTarget, ScriptThread, or ScriptStackFrame the execution
lands in ScriptDebugTarget.terminate(boolean). The code waits for the
process to terminate for 5 secs (THREAD_TERMINATION_TIMEOUT) and kills
is afterwards. Who else can trigger a process termination such that
this 5 sec in waitTerminated(...) is avoided?

Or do you know where to register the RuntimeProcess such that this
terminates before this 5 sec waitTerminated() is completed?

Thanks!

--
MSc Gabriel Petrovay
Mobile: +41(0)787978034
www.28msec.com
_______________________________________________
dltk-dev mailing list
dltk-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/dltk-dev


Back to the top