Skip to main content

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

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


Back to the top