vsjitdebugger.exe (Visual Studio Debugger) - shows up lots in my task manager in production server

前端 未结 3 2185
鱼传尺愫
鱼传尺愫 2021-02-19 23:22

I\'ve got a .net web site which runs on IIS. Once every few days I look at the task manager and I\'ve got 10-15 vsjitdebugger.exe processes open. Each one ties up some connectio

相关标签:
3条回答
  • 2021-02-19 23:39

    It sounds like the machine is configured to automatically run the debugger if an unhandled exception occurs in the process. You don't want this in a production server but instead likely want it to terminate the process. This behavior is controlled by the DbgManagedDebugger key in the registry. Here is the documentation for that key

    • http://msdn.microsoft.com/en-us/library/2ac5yxx6.aspx
    0 讨论(0)
  • 2021-02-19 23:46

    It could be that you still have the debugger regkeys set. Can you check the value of your HKLM\Software\Microsoft\Windows NT\CurrentVersion\AEDebuger\Debugger and the HKLM\Software\Microsoft.NETFramework\DbgManagedDebugger keys. These are the keys that the OS looks at when an unhandled exception occurs (it will launch whatever these keys are set to).

    0 讨论(0)
  • 2021-02-19 23:52

    Sometimes a developer puts in a line of code to Debugger.Launch() and forgets to remove it. That will force the JIT dialog to say, "An exception 'Launch for user' has occurred ...". If you are getting that message then it's a hardcoded statement to launch the debugger.

    0 讨论(0)
提交回复
热议问题