Export (0) Print
Expand All
1 out of 5 rated this helpful - Rate this topic

Error: Debugging Isn't Possible Because a Kernel Debugger is Enabled on the System

When debugging managed code, you may get the following error message:

Debugging isn't possible because a kernel debugger is enabled on the system

This message occurs when you try to debug managed code on a system running Windows NT, Windows 2000, or Windows XP that has been started in debug mode.

Solution

To fix this problem

  1. Locate boot.ini on your System drive (usually C:\). The boot.ini file may be hidden and read-only, so you will need to use the following command to see it:
    dir /ASH
    
  2. Open boot.ini using Notepad and remove the following options:
    /debug
    /debugport
    /baudrate
    
  3. Reboot the machine.
  4. Restart Visual Studio .NET and debug.

See Also

Debugging Managed Code

Show:
© 2014 Microsoft. All rights reserved.