Jump to content
  • Advertisement
Sign in to follow this  
__fold

Data breakpoint in VC++ 6

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

Can someone provide me with a complete example on how to set a data breakpoint in VC++ 6? I think I do it exactly as msdn states but it never works (I get an invalid breakpoint message). I think 've tried everything now without succes :/

Share this post


Link to post
Share on other sites
Advertisement
...and suddenly the breakpoint wasn't invalid for no reason... but it still didn't stop when the condition was set.

Share this post


Link to post
Share on other sites
Are you remembering to use a C/C++ style expression. e.g.,
foo == 5


The breakpoint should break when the expression is true.

Share this post


Link to post
Share on other sites
That is exactly what I do and according to msdn it should be enough to put an expression like that into the expression field in the data tab for the breakpoint. But then it says invalid breakpoint and stops the debugging. If I add the function and the exe then it starts debugging but nothing happens when the statment is true...

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.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!