Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-dev] Thread Selection Listener

I'll give it a try, thanks.


From: "Marc Khouzam" <marc.khouzam@xxxxxxxxxxxx>
To: "CDT General developers list." <cdt-dev@xxxxxxxxxxx>
Sent: Tuesday, June 4, 2013 11:46:23 AM
Subject: Re: [cdt-dev] Thread Selection Listener

 
How about IDebugContextListener from the platform?
There are some example of its use in CDT.


From: cdt-dev-bounces@xxxxxxxxxxx [mailto:cdt-dev-bounces@xxxxxxxxxxx] On Behalf Of Jason Litton
Sent: Tuesday, June 04, 2013 1:43 PM
To: CDT General developers list.
Subject: [cdt-dev] Thread Selection Listener

Hey guys,
I was just wondering if there's some sort of thread selection listener API that fires when the user changes the selected thread in the stack trace view. I would like to fire an event when we get that UI event. I've looked in CDebugUiUtils.getCurrentStackFrame() and CLIInfoThreadsInfo.getCurrentThread(). The first fires on every thread on the selection event, and the second only returns what GDB/CDT thinks the current thread is, which could be different than what is selected. If you could point me to a listener or somewhere I could insert a listener, that would be great.
Thanks,
Jason Litton

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


Back to the top