简体   繁体   中英

Xcode Debugger: What does the blue italic text mean?

Here's a screenshot:

在此处输入图片说明

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?

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 (eg 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.

The 'L' stands for local variable. Take a look at the Variables Pane section in the Xcode User Guide . I would imagine the blue font would stand for the expected value before the lines get executed or when you reached your breakpoint.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM