gflags debugging

熙铭 徐 41 Reputation points
2022-12-30T02:38:46.76+00:00

Opening the application after applying with gflags prompts the following
Startup error
Visual Studio Unregistered UnNotified When an unhandled exception occurs in the native application, please fix the installation or run vsjitdebugger.exe /regserver

I select debugger and fill in vsjltdebugger.exe (Image File)
Why is this error displayed and what should I do?

Developer technologies | C++
Developer technologies | C++
A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
Developer technologies | Visual Studio | Other
Developer technologies | Visual Studio | Other
A family of Microsoft suites of integrated development tools for building applications for Windows, the web, mobile devices and many other platforms. Miscellaneous topics that do not fit into specific categories.
{count} votes

Answer accepted by question author
  1. Tianyu Sun-MSFT 34,686 Reputation points Microsoft External Staff
    2023-01-03T10:17:16.56+00:00

    Hi @熙铭 徐 ,

    Please open VS Installer > Find Visual Studio 2017 > click Modify > Individual components > search Just-In-Time debugger and make sure that it was checked and installed. If it was not checked, please check it and install it. If it was checked/installed, please try to reinstall(uncheck > check again) it.

    Please also check the Windows Registry. Press Windows key + R > type regedit > Ok > navigate to HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows NT\CurrentVersion\AeDebug\Debugger and make sure that the "debugger" key exists. Please also check this directory: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AeDebug\Debugger.

    Besides, it worth trying to repair VS(VS Installer > find VS 2017 > More > Repair). Normally the JIT debugger should be installed together with VS and work by default without setting other configurations. If the error persists, I would suggest you try to reinstall VS 2017(If it is acceptable).

    BTW, there was a known issue, not sure if it affects the debugger on your side. You can try to add a Windows Registry key in this directory Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AeDebug (right-click in white space > New > DWORD 32-bit Value) and rename it as Auto, set the value=1(right-click > Modify > Value data).

    Please feel free to let me know if above suggestions work.

    Best Regards,
    Tianyu

    • If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
      Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.