Jump to content
  • Advertisement
Sign in to follow this  
Iccarus

Breakpoint not working

This topic is 4486 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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.

Share this post


Link to post
Share on other sites
Advertisement
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

Share this post


Link to post
Share on other sites
You can also call DebugBreak, or use Interrupt 3 (for example, "_asm int 3") to trigger a breakpoint.

Share this post


Link to post
Share on other sites
Are you running a debug build or a release build? On release builds breakpoints are ignored.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!