What to do when DebugBreak won’t let me debug on windows7/Vista

A curious problem that I had today at work:

I’m working on a component that suppose to run as another “service”. Because of the environment limitations I could not  just debug using visual studio (F5) and had to set my debug points manually using __debugbreak.

I recently installed Windows 7 and so far I enjoy using it until today instead of showing the usual dialog that asks if I want to Debug the program I got a message telling me that the application has stopped responding.

No matter what I did I could not cause window to show me the correct dialog. Searching the web proved to be futile and didn’t help me to solve the problem.

Then it hit me, perhaps this is one of these times that windows is trying to be extra helpful.

I’ve opened the action center choose “change action center settings”

image

From There I went to problem reporting setting

image

Looks exactly like what I was looking for – just choose the correct option and…

image

It works!!!

image

And after that I was able to debug my application.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s