When I try to watch some variables in a static library linked with current startup project I receive this error:
CXX0017: Error: symbol not found
I've tried to rebuild the project/close IDE but I have same error. I can use breakpoints/step/other features.
Do you have any idea why is this happening? Maybe some weird compiler flags or else...
Edit: Only some variables can't be viewed in debugger! In general local variables.
I am using Cplex solver and I had this problem, I changed the following setting to "disabled(/od)": from property pages > configuration manager > c/c++ > optimization >optimization and now it works :)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With