Search code examples
c#debuggingjitproduction

Should jitdebugging be disabled in production releases?


As the title says, should Just-In-Time debugging be disabled in production releases?

Thank you all.


Solution

  • When Just-In-Time debugging debugging is enabled, a dialog box will appear when an unhandled exception occurs in a program running outside Visual Studio. This dialog box gives you an opportunity to debug the program.

    So is there someone who can deal with such dialog boxes when they appear? If yes, then it's OK to keep Just-In-Time debugging debugging enabled in the production computer. Otherwise, this may be undesirable for unattended operation and therefore you should disable it.