I am trying to debug a crash dump and I want to check the value of some variable on the stack. Problem is some methods have been inlined in the release build but I want to dump the variables (dv) of this.
If I go to the stack frame and do a dv command it shows me all variables for that particular function but not those within the inlined call.
I can do a uf (unassmeble function) command to see the assembly code but its a lot of work figuring things out.
It is not generally possible in an optimized build.
The optimizer might decide not to allocate memory to a variable, so studying the assembly code to figure out which register is the variable in is the only way.
Furthermore, if “Omit frame pointers” switch is on, the debugger wouldn’t correctly show any variable allocated on stack.
You may try to add code to log variables you’re interested in into a file.