Windows 10: Windows 10 hangs when Debug Mode is enabled

Discus and support Windows 10 hangs when Debug Mode is enabled in Windows 10 News to solve the problem; Debugging mode is an advanced troubleshooting option in Windows that helps to find and resolve errors in the system. Once enabled, system... Discussion in 'Windows 10 News' started by WinClub, Apr 27, 2021.

  1. WinClub New Member

    Windows 10 hangs when Debug Mode is enabled


    Debugging mode is an advanced troubleshooting option in Windows that helps to find and resolve errors in the system. Once enabled, system administrators can use it to connect with debuggers like Windows Debugger (or WinDbg) tool. However, some users face this issue where Windows 10 hangs when debug mode is enabled. If you are also facing this problem, then this post can help you fix it.

    Windows 10 hangs when Debug Mode is enabled Windows-hangs-debug-mode.png

    This problem may occur when debugging mode is enabled permanently or for a long time and it is not connected with a debugger tool. Debug mode should only be enabled when you need to connect with the debugger tool to troubleshoot and you should turn it off once the purpose is served. If debug mode remains idle, the system keeps waiting for the debugger, and it can result in a system hang. So, to resolve such an issue, you just need to disable debug mode when your work is done. This post can will help you how to do that.

    Windows 10 hangs when debug mode is enabled


    To solve this problem, you can disable debug mode using these two built-in options of Windows 10:

    1. Using System Configuration
    2. Using Command Prompt.

    Let’s check these two options.

    1] Using System Configuration


    Windows 10 hangs when Debug Mode is enabled use-System-Configuration.png

    System Configuration tool (or MSConfig) in Windows 10 lets you access and use many important options like startup selection, BOOT Advanced options, disable Microsoft services, etc. It is also helpful in disabling debug mode. Here are the steps:

    1. Click on the Search box of Windows 10
    2. Type msconfig or system configuration
    3. Press Enter key
    4. Access Boot tab in System Configuration window
    5. Uncheck Debug option in BOOT Advanced Options window
    6. Press OK button
    7. Click on Apply button
    8. Click on the OK button
    9. Restart your computer.

    After that, your system should work fine.

    2] Using Command Prompt


    Windows 10 hangs when Debug Mode is enabled use-Command-Prompt.png

    Follow these steps:

    Run Command Prompt as an administrator

    Execute the following command:

    bcdedit -debug off

    Restart your computer.

    Related: Fix Windows 10 hangs or freezes.

    Now when you will log in to your Windows 10 computer, it shouldn’t hang and the mouse, applications, and other windows should run properly.

    Hope this helps.

    Windows 10 hangs when Debug Mode is enabled Windows-hangs-debug-mode.png
    This article Windows 10 hangs when Debug Mode is enabled first appeared on TheWindowsClub.com.

    read more...
     
    WinClub, Apr 27, 2021
    #1

  2. Enabling kernel-debug on serial cause windows 10 to hang

    Hi all,

    I encounter a issue that enabling kernel-debug on serial cause windows 10 to hang. The windows 10(64-bit) runs on XenServer, which can boot normally before enabling kernel-debug, and the windows 10 will stay at the boot screen once rebooting after enabling
    kernel-debug on serial. I try to add serial port and remove serial port on XenServer but they can't solve it.

    Does anybody encounter this issue ?

    Thanks.
     
    Albert Lian, Apr 27, 2021
    #2
  3. enabling JIT debugging / HP simplified not found

    Hi Alex,



    Thank you for posting your query in Microsoft Community. Let me help you.



    I suggest you to follow the below procedure and check if it helps.

    Just-In-Time debugging is a feature that launches the Visual Studio debugger automatically when a program, running outside Visual Studio, encounters a fatal error. Just-In-Time debugging allows you to examine the error
    before the application is terminated by the operating system. The Visual Studio debugger does not need to be running when the error occurs.



    To enable/disable Just-In-Time debugging

    In Visual Studio,


    • On the Tools menu, click Options.

    • In the Options dialog box, select the Debugging folder.

    • In the Debugging folder, select the Just-In-Time page.

    • In the Enable Just-In-Time debugging of these types of code box, select or clear the relevant program types: Managed, Native, or Script.


    To disable Just-In-Time debugging, once it has been enabled, you must be running with Administrator privileges. Enabling Just-In-Time debugging sets a registry key, and Administrator privileges are
    required to change that key.


    • Click OK.
    Checks out this link for more information on JIT debugger. Also To enable/disable Just-In-Time debugging

    Just-In-Time Debugging - Visual Studio 2015

    (Obsolete) How to: Enable/Disable Just-In-Time Debugging



    I hope the information helps. If you need any further assistance, please feel free to contact us again. We will be happy to assist you further.
     
    Aswin_Anand, Apr 27, 2021
    #3
  4. cereberus Win User

    Windows 10 hangs when Debug Mode is enabled

    Enable S mode in Windows 10  

    Ok - when time permits, I will have a crack but not at the moment.

    As a suggestion, perhaps a guide subsection in the tutorials section mihht be useful i.e. guides like this that are easy enough to follow but assume sone experience?

    I have written a couple of guides that people here have happily followed but they do not have every click e.g. I might say "use fix wondows boot problems"using Macrium Reflect, rather than showing every click, putting a reference to the MR Tutorial.

    I could video every step and create a video more easily I suppose.
     
    cereberus, Apr 27, 2021
    #4
Thema:

Windows 10 hangs when Debug Mode is enabled

Loading...
  1. Windows 10 hangs when Debug Mode is enabled - Similar Threads - hangs Debug Mode

  2. How to enable Direct3D 9 debug output on Windows 10?

    in Windows 10 Gaming
    How to enable Direct3D 9 debug output on Windows 10?: I'm trying to figure out a bug with a Direct3D 9 app on a Windows 10 system. I've tried installing the DirectX SDK and opening its control panel as on previous Windows versions to enable running Direct3D in debug mode, but the options to enable it are all greyed out including...
  3. How to enable Direct3D 9 debug output on Windows 10?

    in Windows 10 Software and Apps
    How to enable Direct3D 9 debug output on Windows 10?: I'm trying to figure out a bug with a Direct3D 9 app on a Windows 10 system. I've tried installing the DirectX SDK and opening its control panel as on previous Windows versions to enable running Direct3D in debug mode, but the options to enable it are all greyed out including...
  4. How to enable Direct3D 9 debug output on Windows 10?

    in Windows 10 Customization
    How to enable Direct3D 9 debug output on Windows 10?: I'm trying to figure out a bug with a Direct3D 9 app on a Windows 10 system. I've tried installing the DirectX SDK and opening its control panel as on previous Windows versions to enable running Direct3D in debug mode, but the options to enable it are all greyed out including...
  5. How to Enable JIT Debugging

    in Windows 10 Gaming
    How to Enable JIT Debugging: Please help me, I am having this Unhandled Exception error when opening a portable application.This is the entire message of the error:See the end of this message for details on invoking just-in-time JIT debugging instead of this dialog box. ************** Exception Text...
  6. How to Enable JIT Debugging

    in Windows 10 Software and Apps
    How to Enable JIT Debugging: Please help me, I am having this Unhandled Exception error when opening a portable application.This is the entire message of the error:See the end of this message for details on invoking just-in-time JIT debugging instead of this dialog box. ************** Exception Text...
  7. How to Enable JIT Debugging

    in Windows 10 Customization
    How to Enable JIT Debugging: Please help me, I am having this Unhandled Exception error when opening a portable application.This is the entire message of the error:See the end of this message for details on invoking just-in-time JIT debugging instead of this dialog box. ************** Exception Text...
  8. How to enable JIT Debugging ?

    in Windows 10 Customization
    How to enable JIT Debugging ?: Please Help me when I'm opening a application the application is not running and showing this error please help to resolve it.See the end of this message for details on invoking just-in-time JIT debugging instead of this dialog box. ************** Exception Text...
  9. Debugging a hanging system with no memory dump

    in Windows 10 BSOD Crashes and Debugging
    Debugging a hanging system with no memory dump: Hi, I'm having troubles with my Windows 10 laptop freezing when it comes out of sleep mode. I get the login screen and can move the mouse but I cannot click any buttons or type into the login box. The time also remains static and there are no entries for the time it was...
  10. How to debug hang problem?

    in Windows 10 Performance & Maintenance
    How to debug hang problem?: It may not be right to ask here. I know that BSOD will have ramdump for debugging, but what if computer hangs? neither mouse nor keyboard is working, in this case, how can i debug the problem? 32994