Pick the fix
At a breakpoint you want to see a local struct's properties quickly, without running any code in the app. Which command?
Hint 1 of 1
Which command doesn't evaluate an expression?
Choose an answer, then open Show answer below to check it.
Show answer
Answer: A v myValue
Correct. frame variable reads memory directly without evaluating code.
Why not the others?
- B
po myValue. po runs code to get the description, which is slower and can have side effects. - C
e myValue = .init(). That changes the value instead of showing it. - D
bt. bt prints the backtrace, not variables.