Hi I have a c++ app in visual studio 2015. My .exe's pdb wont work and it cant hit breakpoints. when I open the modules window, the status says Symbol format not supported. my debug file flag is /ZI in the projects settings. I've tried deleting the object and bin folders. When I create a new project, it hits the breakpoint. Any ideas?
If a source file has changed and the source no longer matches the code you're debugging, the debugger won't set breakpoints in the code by default. Normally, this problem happens when a source file is changed, but the source code wasn't rebuilt. To fix this issue, rebuild the project.
To set a breakpoint in source code: Click in the far left margin next to a line of code. You can also select the line and press F9, select Debug > Toggle Breakpoint, or right-click and select Breakpoint > Insert breakpoint. The breakpoint appears as a red dot in the left margin.
I had use managed compatibility mode and use native compatibility mode both checked. Unchecking use native compatibility mode fixed it.
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