Hi,
I think I had the same issue a while back.
What I did to solve it was:
In the project Property (right click the project in VS, and select Properties), go to Linker->Debugging.
The "Generate debug info" flag was for me set to Optimize for linking, when I changed it to Optimize for debug it gave me correct stack traces.
Hope this helps.
I think I had the same issue a while back.
What I did to solve it was:
In the project Property (right click the project in VS, and select Properties), go to Linker->Debugging.
The "Generate debug info" flag was for me set to Optimize for linking, when I changed it to Optimize for debug it gave me correct stack traces.
Hope this helps.