Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

Hungry Joe

VS .NET not stopping at breakpoints...

This topic is 5588 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

I created a few more project configurations for my code with different command line parameters, but now for some reason c++ doesnt stop itself at breakpoints. Am I creating non debug versions? How can I set each configuration so I will pause? thanks Joe

Share this post


Link to post
Share on other sites
Advertisement
How are you running your program? If you hit ctrl+F5 instead of F5 alone to run it, for example, it won''t debug. Make sure you''re selecting ''debug.''

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
so my other configs wont debug? is debug the only one which stops at breakpoints? what setting can I change so the others are debug configs too?

Share this post


Link to post
Share on other sites
you can only debug if you compiled with debugging information, otherwise it will have know idea where your breakpoints are and whatnot. Switch to the debug build.

Share this post


Link to post
Share on other sites
that seems a bit crazy. the debug build only has one choice for command line. i have five different command lines I use regularly so I created a config for each called nw,sw,ne,nw all which are map tile data sets. I want to debug with each but they dont stop. I assume theres something I can change because this doenst seem like a crazy thing to want to do in an IDE.

Share this post


Link to post
Share on other sites
Let me clarify what I meant - regardless of whether your current configuration is a debug configuration, if you run your program by hitting ctrl+F5 instead of by hitting F5 alone, it will not debug. I just wanted to make sure that you were hitting F5.

As for making alternate debug configurations, have you tried copying the default debug configuration and then making your custom alterations? That is, how are you telling your new configurations that you want them to include debug information?

Share this post


Link to post
Share on other sites

  • 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!