[lldb-dev] Help needed: Multi-threaded debugging on OSX

Tomas Nemec tnemec78 at gmail.com
Sat Feb 19 05:22:06 PST 2011


Hello,
sorry to bother, I would like advise on os x debugging and since it is not
documented very well I figured this would be the best place to ask.

I am developing a graphical debugger for OSX - currently it runs as a GDB
frontend. This is very cumbersome and slow though.
I would like to either create my own mini debugger as a backend or possibly
embed lldb.
My mini debugger works but I found out that it is not reliable when trying
to debug a multi-threaded target when more than 1 thread hits a breakpoint.
Trying to single step then sometimes works and sometimes causes the target
to exit...
Could someone give me some pointers if I post my code here? (my code is
quite small and not difficult to understand)
Also could tell me whether it is difficult to embed lldb as a backend into
my Cocoa frontend? Where should I start?

Many thanks,
Kurt
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20110219/2c4baf79/attachment.html>


More information about the lldb-dev mailing list