Enable Just-In-Time Debugger (Dr.Watson)
This tweak lets you enable Just-In-Time Debugger (Dr.Watson) to help debuggers solve the fatal errors in programming.
Level: Recommended For Experts Only
Description:
Just-in-time debugging is a feature in visual studio, which enables the developer to examine the fatal error in the program before the operating system terminates it. It starts automatically as soon as the error occurs. A dialog box enquires about your requirement. It is not necessary to keep it running. It can be enabled from options dialog box. If the anti-crash program like norton crashguard is installed in your computer, then this tweak displays like this: c:\program files\norton crashguard\cg32eh.exe /p%ud /e%ud windows 2000 displays it as drwtsn32 -p %ld -e %ld -g otherwise this field will be blank. For this, go to start > run menu, enter regedit and navigate to the registry path listed below. Now, create a string value name, debugger in the right panel, if this value does not exist. Right-click this value name and modify the value data with c:\program files\common files\microsoft hared\vs7debug\vs7jit.exe -p %ld -e %ld to enable it and make the field blank to disable it. Click ok and close the registry editor. Restart the system or logoff to see the changes taking effect. Note: 1. Just-in-time debugging will not work for managed code hosted in a native application, such as visualizers. 2. The computer will have to be rebooted to let just-in-time debugging work on a process running in a limited user account in a terminal services session after installing the .net framework on windows server 2003 or on windows 2000 sp3 (or later). When editing the registry it is highly recommended to run a quick scan for optimization, you can test your system now for free.
Just-in-time debugging is a feature in visual studio, which enables the developer to examine the fatal error in the program before the operating system terminates it. It starts automatically as soon as the error occurs. A dialog box enquires about your requirement. It is not necessary to keep it running. It can be enabled from options dialog box. If the anti-crash program like norton crashguard is installed in your computer, then this tweak displays like this: c:\program files\norton crashguard\cg32eh.exe /p%ud /e%ud windows 2000 displays it as drwtsn32 -p %ld -e %ld -g otherwise this field will be blank. For this, go to start > run menu, enter regedit and navigate to the registry path listed below. Now, create a string value name, debugger in the right panel, if this value does not exist. Right-click this value name and modify the value data with c:\program files\common files\microsoft hared\vs7debug\vs7jit.exe -p %ld -e %ld to enable it and make the field blank to disable it. Click ok and close the registry editor. Restart the system or logoff to see the changes taking effect. Note: 1. Just-in-time debugging will not work for managed code hosted in a native application, such as visualizers. 2. The computer will have to be rebooted to let just-in-time debugging work on a process running in a limited user account in a terminal services session after installing the .net framework on windows server 2003 or on windows 2000 sp3 (or later). When editing the registry it is highly recommended to run a quick scan for optimization, you can test your system now for free.
Screenshots

First, click the Start button, and select Run. In the resulting dialog box, type 'regedit'.

Now, go to <b>[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AeDebug\] </b>and right click on the String value 'Debugger' and select 'Modify'.

Finally set the value data as 'drwtsn32 -p %ld -e %ld -g' and click 'OK'.
Registry Entries
- back to top- Path: [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AeDebug\]
- Location: Local Machine
- Value Name: Debugger
- Data Type: REG_SZ (String Value)
- Action Type: Modified
Related Tweaks
- back to topTweak Library Terms
- back to top- Application Paths
- Authentication
- Auto Play
- Browser
- Console
- Control Panel
- CPU
- Desktop
- Display
- Error Reporting
- Explorer
- File System
- Files and Folders
- Firewall
- Fonts and Icons
- General Info
- Group Policies
- Hardware
- Input/Output Devices
- Installations
- Internet Explorer
- Memory Settings
- Messenger
- Microsoft Office
- Networks Cards
- Network Internet Connections
- Other Programs
- Outlook and Outlook Express
- Performance Settings
- Product Updates
- Scheduler
- Search
- Security
- Services
- Sound and Video Controllers
- Start Menu
- Startup and Shutdown
- Storage Devices
- System
- System Restore
- System Settings
- Taskbar
- User Interface
- Windows Applications
- Windows Firewall
- Windows Media Player
- Winzip
