• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Embedding debugger commands within DebugStr ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • RE: Embedding debugger commands within DebugStr ?
      • From: Steven Splinter <email@hidden>
    • Re: Embedding debugger commands within DebugStr ?
      • From: Jim Ingham <email@hidden>
  • Prev by Date: Re: Oddity when zipping my build folder
  • Next by Date: Re: Embedding debugger commands within DebugStr ?
  • Previous by thread: Re: <process.h> and <io.h>
  • Next by thread: Re: Embedding debugger commands within DebugStr ?
  • Index(es):
    • Date
    • Thread