Re: viewing enum values in debugger
Re: viewing enum values in debugger
- Subject: Re: viewing enum values in debugger
- From: David Dunham <email@hidden>
- Date: Wed, 7 Mar 2007 09:15:23 -0800
On 7 Mar 2007, at 09:01, Micah Sharp wrote:
Hi there, maybe I'm blind, but I cannot figure out a way to view
the actual integer value of an enum in the debugger at runtime. I
add it as an expression and it just says Out Of Scope. Is there
some kind of special trick to see the exact value?
Make it a typedef:
typedef enum {
kWindowsLatin = 0,
kUTF8 = 8
} EncodingT;
David Dunham A Sharp, LLC
Voice/Fax: 206 783 7404 http://a-sharp.com
Efficiency is intelligent laziness.
_______________________________________________
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