re need way to debug tool called by popen--at startup
re need way to debug tool called by popen--at startup
- Subject: re need way to debug tool called by popen--at startup
- From: Dennis Christopher <email@hidden>
- Date: Thu, 30 Apr 2009 14:07:02 -0400
Jonas ,
I tried sleep(10) in the called tool near the start, placing a
breakpoint after it. what happens is that I do Attach to process..and
nothing happens until finally gdb opens and hits one of the
breakpoints further on in the program..I noticed that sometimes gdb
seems to break in assembly underneath the actual break point in the
source. Not sure if this last fact is relevant.
Dennis
On Apr 30, 2009, at 1:36 PM, email@hidden wrote:
Alternatively, you can add a sleep(10) or however long you need at the
beginning of the command line tool, so that you do get enough time to
attach gdb manually.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden