Re: GDB and global variables?
Re: GDB and global variables?
- Subject: Re: GDB and global variables?
- From: Chris Espinosa <email@hidden>
- Date: Fri, 27 Oct 2006 08:59:15 -0700
On Oct 27, 2006, at 8:52 AM, Blair M. Burtan wrote: How do I make this work reliably? I get the idea that you click on the global variables item in the debugger window and another window pops up with a behemoth list of things and you then are supposed to click on your application and magically a list of the globals is supposed to be generated but I've only gotten this to work once.
a) Globals in lazy-loaded Mach-O libraries won't be available until those libraries are loaded. Uncheck "Load symbols lazily" in Debugger preferences.b) As you have discerned, there are a whole lot of globals available to any given compilation unit at any time. If you're just interested in a small number, you can enter them in the Expressions window.
|
_______________________________________________
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