Embed Debug Break in Console App
Embed Debug Break in Console App
- Subject: Embed Debug Break in Console App
- From: Chris Edgington <email@hidden>
- Date: Wed, 11 Oct 2006 14:31:18 -0400
Sorry if this is documented somewhere - I've searched and cannot find
it. How can I embed a debug break in an OSX console .c app that I'm
debugging with gdb? I see in the "debugging magic" technote something
about setting the USERBREAK environment variable and using SysBreak()
or Debugger(). I tried including MacTypes.h - but I still get a link
error for SysBreak() or Debugger(). So - my question is simple - how
can I add a debug break in my console app?
Thanks,
-Chris
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden