Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Meaning of symbols in the Debug area from Xcode

What do the symbols that are at the left in the Debug Area from the XCode mean? i, A, L, E, etc...

snapshot from Debug Area

I was looking for that information in the Apple docs (here and here, basicly), but could not find it.

like image 329
AlvaroSantisteban Avatar asked Aug 02 '12 13:08

AlvaroSantisteban


People also ask

What is debug symbols in Xcode?

Debug Symbols are additional information about your source code that are used to help debugging. See also this wikipedia article about debug symbols. They will not be submitted to the appstore as they are only part of debug-build while you only submit a release-build to the appstore.

What are symbols Xcode?

symbols files are generated when you submit machine code instead of bitcode to the App Store. They are used as part of the mechanism used to deliver symbolicated crash reports to your Xcode Organizer. They are lighter weight than the complete .

What is debug symbols in C?

A debug symbol is a special kind of symbol that attaches additional information to the symbol table of an object file, such as a shared library or an executable.

What is debug executable in Xcode?

The “Debug executable” checkbox specifies whether or not you want to run with the debugger enabled. Once running, you can use Debug > Attach to Process on a process that has been launched with debugging disabled if needed. It seems like all this does is start your app with the debugger attached.


2 Answers

I could only find a list of the variable types from Ken Orr's "Debugging with Xcode" WWDC 2012 presentation slides (Session 412). You may, or may not, have access to these slides.

  • L: Local Variable
  • A: Argument
  • S: Static Variable
  • V: Global Variable (Darker)
  • R: Register
  • V: Instance Variable (Lighter)
  • E: Expression

Note: I cannot be more specific about the different colours of the 'V' variables as I am colour-blind. Boo hoo, poor me. Perhaps you can tell me?

enter image description here

like image 57
trojanfoe Avatar answered Sep 22 '22 08:09

trojanfoe


Apple developers must have added it to the docs after this question was asked, as it is in the docs

There are actually only 6 labels, L, A, S, V, R, E, where V is shared between Global and instance variables. At least now, they are exactly the same colour.

Screenshot of label names.

like image 42
Ben Butterworth Avatar answered Sep 22 '22 08:09

Ben Butterworth