Jump to content
  • Advertisement
Sign in to follow this  
thatguyfromthething

Make Visual C++ do something on break?

This topic is 2449 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 have an error logger but I am currently forced to flush it constantly which is kind of annoying. The same basic idea comes up for other things as well all the time, though, so it's not this one issue.

Is this something that can be done in a reasonably easy manner or not?

Share this post


Link to post
Share on other sites
Advertisement
Probably no way to do this, unless you feel like getting into the guts of the Visual Studio Extensibility system, which is terribly documented and monstrously cryptic.

So no reasonably easy way to do it, anyways.

Share this post


Link to post
Share on other sites
Make Visual C++ do something on break?
Is this something that can be done in a reasonably easy manner or not?
You can execute some arbitrary types of C++ code during a breakpoint by typing it into the 'watch' debugging window.
e.g. if you type in [font="Courier New"]FlushMyLogger();[/font] and hit enter, that function will be called immediately and the results displayed.

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!