Embedding debugger commands within DebugStr ?
Embedding debugger commands within DebugStr ?
- Subject: Embedding debugger commands within DebugStr ?
- From: Mark Thomas <email@hidden>
- Date: Tue, 11 Sep 2007 00:04:04 +0100
Hi All,
Back in Classic day's it was possible to embedded MacBugs commands within
a DebugStr() e.g.
DebugStr("\p statement ;sc ");
DebugStr("\p statement ;g ");
Was this capability brought over to gdb & DebugStr, as doing e.g.
DebugStr("\p statement ;cont ");
This doesn't seem to work when I try as this was quite useful for
generating some automatic debug output, when tracing through the code, in a
debug programmatic way. I understand that the debugger GUI I could do this
but this is useful when embedded in the code and can be used on any system
when launching the app with gdb to debug :-).
(It was also a great way of getting stackcrawls when tracing, which is
hard to do when using printf instead of DebugStr )
Thanks
Mark.
_______________________________________________
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