1

Is it possible to see the numeric value of an NSNumber in the debugger datatip on in the variable watch window?

I store an Integer value in NSNumber and want to see this value during debugging.

I tried some of the data formatters in the debugger already, but it wasn't much help.

Quinn Taylor
  • 44,553
  • 16
  • 113
  • 131
TalkingCode
  • 13,407
  • 27
  • 102
  • 147
  • This already works in the summary column in the debugger window or inline data tip when you hover over the variable in your editor. Am I misunderstanding your question? – keremk Apr 15 '09 at 19:03

1 Answers1

7

Open the Debugger view and in the Summary column enter

{(int)[$VAR intValue]}

or whatever interpretation is most appropriate for what you want to see in the Debugger.

cdespinosa
  • 20,661
  • 6
  • 33
  • 39