• 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
Re: viewing global vars in the debugger
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: viewing global vars in the debugger


  • Subject: Re: viewing global vars in the debugger
  • From: Jim Ingham <email@hidden>
  • Date: Sat, 10 Jul 2004 15:59:35 -0700

There isn't a dedicated Global Variable display in Xcode 1.2, but you can just open the Expressions window, and enter the global that you want to watch there. It will be displayed, will update as you step, and will persist across sessions.

Jim

On Jul 9, 2004, at 8:07 PM, Brent Gulanowski wrote:

On Jul 9, 2004, at 6:20 PM, Markian Hlynka wrote:

I have some c-style global variables that aren't showing up in the
debugger window. How do I view them?
How do I make certain that '-g' ie debug symbols are enabled?

In case you're wondering, I _can see other variables.

Thanks,


With XCode 1.2 and earlier, global variables aren't available. You'll get those with the next public release (1.5). I used to create a local and copy the global value into it as a crummy workaround.

--
Brent Gulanowski				email@hidden

[demime 0.98b removed an attachment of type application/pkcs7-signature which had a name of smime.p7s]
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.



_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-
Jim Ingham email@hidden
Developer Tools - gdb
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.



References: 
 >viewing global vars in the debugger (From: Markian Hlynka <email@hidden>)
 >Re: viewing global vars in the debugger (From: Brent Gulanowski <email@hidden>)

  • Prev by Date: Re: Setting up Subversion (was: Setting up CVS so it actually works!)
  • Next by Date: Re: Setting up Subversion..
  • Previous by thread: Re: viewing global vars in the debugger
  • Next by thread: "crossing the user-session boundary", or "the mythical TN2077"?
  • Index(es):
    • Date
    • Thread