• 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
accessing debugger variables (via script) & customization
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

accessing debugger variables (via script) & customization


  • Subject: accessing debugger variables (via script) & customization
  • From: Jens Miltner <email@hidden>
  • Date: Fri, 15 Apr 2005 14:16:09 +0200

Hi everybody,

does anybody know how to get the following done:

I'd like to provide some contextual menu (or maybe just a script in the script menu) that would allow me to execute some script (AppleScript, shell, perl, whatever) that essentially executes some commands in the debugger console (e.g. call (void)$(val)->Dump() , where $(val) would be the variable name).

Can this be done via scripts? I guess AppleScript would be the most likely candidate to access the selected variable in the debugger's variable view pane, but I couldn't really find something in the dictionary that gave me an idea how to tackle the problem - Xcode's object model just seems to be massive |-:

Any ideas on how to get the currently selected variable (name and/or value) in the debugger would be welcome.

OTOH, if it's possible to write plugins, that would allow to extend the debugger functionality, I wouldn't mind writing a bit of code to do things...

Anything might help ;-)

Thanks,
</jum>
 _______________________________________________
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: accessing debugger variables (via script) & customization
      • From: Alastair Houghton <email@hidden>
  • Prev by Date: Re: gdb can't find main?
  • Next by Date: distcc (left over) temporary files eating massive amount of disk space
  • Previous by thread: SCM Compare and diff now find mostly identical files are entirely different.
  • Next by thread: Re: accessing debugger variables (via script) & customization
  • Index(es):
    • Date
    • Thread