Re: Embed Debug Break in Console App
site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com On Oct 11, 2006, at 11:31 AM, Chris Edgington wrote: Debugger() does this: pthread_kill( pthread_self(), SIGINT ); I expect you could do the same. -eric _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... 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? This email sent to site_archiver@lists.apple.com
participants (1)
-
Eric Schlegel