Breakpoint not working
For some reason my breakpoints aren't working. I'm using Visual Studio.NET 2003 and C++.
The program is passing the code as its carrying it out, it just simply isn't breaking for some reaosn.
Hey bud,
Try a clean-rebuild of your project. This has often solved this problem for me. Another likely explanation is that if optimisations are on and the code doesn't actually get used, ie you calculate something, but never use it anywhere once you have created it, then the compiler will optimise it out. I know this happens in shaders.
Hope that helps,
Dave
Try a clean-rebuild of your project. This has often solved this problem for me. Another likely explanation is that if optimisations are on and the code doesn't actually get used, ie you calculate something, but never use it anywhere once you have created it, then the compiler will optimise it out. I know this happens in shaders.
Hope that helps,
Dave
You can also call DebugBreak, or use Interrupt 3 (for example, "_asm int 3") to trigger a breakpoint.
Make sure you have debug information inside your executable and have turned off optimisations.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement