Question regarding org.eclipse.cdt.dsf.debug.service.IProcesses.IThreadDMData.getId()

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Question regarding org.eclipse.cdt.dsf.debug.service.IProcesses.IThreadDMData.getId()

Gidi Gal1
Hello,

I am running debug session with Cygwin. The code creates thread which print its thread ID. I place a breakpoint on this printout.
I am trying to get the ID of the thread which was suspended due to the breakpoint. The function IThreadDMData.getId() keeps returning 0.
I attach sample plugin (TestThreadID.zip)  with my code and sample project, which creates thread (testHelloWorldThread.zip).

I'll be grateful if you could take a look and comment what is wrong with my API usage.

Thanks,
Gidi



_______________________________________________
cdt-dev mailing list
[hidden email]
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://www.eclipse.org/mailman/listinfo/cdt-dev

TestThreadID.zip (18K) Download Attachment
testHelloWorldThread.zip (113K) Download Attachment