Annoying Debug messages

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hello. I do not want any boxes telling me of errors and asking me if I want
to debug. I already configured my Internet Explorer disabling both debugging
options and I still get some messages. Particularly, I get messages in
Windows Mail. I have Visual Studio installed in my computer. How can I stop
any and every spontaneous debugging in my computer????

Thanks.
 
Alonso said:
Hello. I do not want any boxes telling me of errors and asking me if I
want
to debug. I already configured my Internet Explorer disabling both
debugging
options and I still get some messages. Particularly, I get messages in
Windows Mail. I have Visual Studio installed in my computer. How can I
stop
any and every spontaneous debugging in my computer????

Hi Alonso,

This is a function of Visual Studio, not Vista. When you install Visual
Studio onto the machine, it configures itself as the default debugger. This
is normal and "by design" for Visual Studio on all platforms.

You can disable Just-in-Time debugging under Visual Studio's options. You
don't say which version of Visual Studio you're running, I'll assume it is
VS2005:

- Run Visual Studio as Administrator (because you need to change a
machine-wide setting)
- go to te Tools menu in Visual Studio
- go to Options; the Options dialogue will appear
- expand the Debugging item in te left-hand pane (7th item down)
- select "Just-in-Time"
- in the right-hand pane, clear the check boxes under "enable just-in-time
debugging for these types of code"
(ie, clear Managed, Native and Script)
- click OK
Just-in-time debugging should now be disabled. The steps are roughly
similar, in previous versions of Visual Studio.

The default debugger is stored in the Registry on each machine. For native
machine code, the debugger is set under
HKLM\Software\Microsoft\Windows NT\Current Version\AeDebug
For managed code, it's under:
HKLM\Software\Microsoft\.NETFramework\DbgJITDebugLaunchSetting
But it's better to configure these things through the UI, than try to munge
the Registry directly.

Hope it helps,
 
Back
Top