Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Xcode Debugger: What does the blue italic text mean?

Here's a screenshot:

enter image description here

Clearly it indicates that the x coordinate of my struct differs from the y coordinate, however their values are the same. How do they differ?

While we're at it... This one should be easier... What does the capital L icon indicate?

like image 701
Steven Lu Avatar asked Feb 15 '23 07:02

Steven Lu


1 Answers

The blue italic text means that the value of that variable (or expression) has changed since the last time the program paused.

“L” in the green square means that c is a local variable. “A” in a purple square means a function or method argument (e.g. you will see this next to self). “V” in a green square means some other type of variable, like an instance variable or a global variable. There may be others but I don't remember them.

like image 71
rob mayoff Avatar answered Feb 23 '23 17:02

rob mayoff