I am new to Xcode and came by pycharm. In pycharm, I am able to use watcher to execute the statement and store as local variable in debugger mode. How could I do that same thing from Xcode debugger lldb?
let a = 5 letba = 5 let aPlusb = Self.addFunc(a, b)
after place debugger on line 3. how can i call Self.addFunc() and store into some variable
I have tried expression or e under
lldb and then
po xy but it does not work with error
error: expression failed to parse: error: <EXPR>:8:1: error: cannot find 'xy' in scope `xy`
Leave an answer