Unable to trace local variable value in Debug mode
In Debug mode, when the program stop at the breakpoint i set, i want to trace the value in a local variable (which is a struct named profile).
However, I found 2 variables in the Local and Expressions window which are profile and profile@1.
When I step over the code, the 2 variables value does not update in Local and Expressions window.
How can I avoid the this happen?
Re: Unable to trace local variable value in Debug mode
Hi,
What are you using as a compiler? If you are using VS(your's is probably 2010 or later version), then it's the issue of VS. There are open threads on the web regarding this problem and an updated service pack which is released to overcome the problem. Personally, I had the same problem before and the updated service pack didn't solved my problem precisely.
Re: Unable to trace local variable value in Debug mode
because you need MS debugging tools to get debug info in Qt creator (if using MS compiler).