views:

180

answers:

1

Question: I need to disable the console application's crash debug prompt.

Background: We've got an application that syncs info with a third party that crashes due to connectivity problems with the 3rd party at certain times of the day. We don't have access to the source code to trap the error properly so I just need the application to fail and try again. I've got another application that monitors our sync tool to make sure it's running.

when the sync apps crashes there is a debug prompt that requires a users interaction. Because this stays on the screen the application never actually stops running. As a result the "health check" never knows of the failure.

I've done this about 2 years ago but for the life of me I can't the remember the article or the needed registry path.

Thanks, Brian

OS: Windows 2003 Server Application Type: .NET 3.5 Console Application


FIX: found by: John Knoeller

Delete the following keys

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AeDebug\Debugger HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\ .NETFramework\DbgManagedDebugger

+2  A: 

Possibly this?

How to: Enable/Disable Just-In-Time Debugging

The registry keys are

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AeDebug\Debugger
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETFramework\DbgManagedDebugger 
John Knoeller
EXACTLY!! Thank you! Note: scroll down to the registry path if u don't have VS installed HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AeDebug\Debugger HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETFramework\DbgManagedDebugger
used2could
JIT debugging didn't even enter my mind when googling
used2could