Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [Dltk-dev] How to get the debugging thread?

Hello Joy,

It's strange that you can not use DebugEvent because it is thrown on every breakpoint and when debug thread is created and terminated. But if you want to get debugging thread not through DebugEvent pay attention to the class ScriptEvaluationContextManager. This class allows to get IScriptStackFrame by IWorkbenchPart. See the details of implementation for more information.

Thanks,
Dmitriy Kovalev

On 8/21/07, wang dada <runtoac@xxxxxxxxx> wrote:
Hi,
Could someone please tell me how to get the debugging thread of Tcl script?
I know one of the methods is getting thread frome DebugEvent. But I can not catch DebugEvent when script stops at the first breakpoint, since my custom debug view is just loaded then. So I cannot initialize the debug view.
Is there any other method to get the debugging thread?
 
 
Best regards,
Joy
 


Shape Yahoo! in your own image. Join our Network Research Panel today!

_______________________________________________
dltk-dev mailing list
dltk-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/dltk-dev






Back to the top