Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I stop windbg from being the interactive debugger?

Tags:

windbg

What is the proper way to undo windbg -I on vista/win7?

Is it as simple as deleting the registry keys in HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AeDebug?

like image 686
nick Avatar asked Jun 18 '09 18:06

nick


People also ask

How do I stop WinDbg debugging?

Press SHIFT+F5. Click the Stop Debugging button ( ) on the toolbar.

How do I get rid of ProcDump as default debugger?

To uninstall ProcDump as the postmortem debugger, and restore the previous settings, use the -u (Uninstall) option. For additional information on ProcDump, see ProcDump and Windows SysInternals Administrator's Reference by Mark Russinovich and Aaron Margosis published by Microsoft Press.

Is WinDbg a debugging tool?

The Windows Debugger (WinDbg) can be used to debug kernel-mode and user-mode code, analyze crash dumps, and examine the CPU registers while the code executes. To get started with Windows debugging, see Getting Started with Windows Debugging.


1 Answers

You don't need to delete the entire registry key. Deleting the Debugger value is enough.

When an exception occurs, the system first looks to see if there is a debugger registered. If so, it just launches the command line specified. Otherwise, it invokes Windows Error Reporting to collect the crash dump. All Windbg -I does is change the registered debugger value in the AeDebug key.

like image 158
Michael Avatar answered Oct 23 '22 02:10

Michael