RE: Embedding debugger commands within DebugStr ?
RE: Embedding debugger commands within DebugStr ?
- Subject: RE: Embedding debugger commands within DebugStr ?
- From: Steven Splinter <email@hidden>
- Date: Mon, 10 Sep 2007 17:10:08 -0700
- Acceptlanguage: en-US
- Thread-topic: Embedding debugger commands within DebugStr ?
You can't do that with DebugStr, but you can issue gdb commands on a breakpoint which then continues without actually switching into the debugger.
The checkbox column on the far right of the xcode breakpoints list causes a breakpoint to auto-run after it's hit. Normally, that's not very useful, but...
If you open the triangle on the far left side of the breakpoints list, you can enter gdb commands to be run when the breakpoint is hit. Entering "backtrace" for example, will dump a stack crawl when the breakpoint is hit.
In combination, I think this does what you wanted, and you don't even have to recompile to make changes to it, or add a command elsewhere.
Hope that helps.
-Steve
_______________________________________________
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