Visual Studio Debugger
How to: Enable/Disable Just-In-Time Debugging

This topic applies to:

Edition

Visual Basic

C#

C++

Web Developer

Express

Topic does not applyTopic does not applyTopic does not applyTopic does not apply

Standard

Topic appliesTopic appliesTopic appliesTopic does not apply

Pro and Team

Topic appliesTopic appliesTopic appliesTopic does not apply

Table legend:

Topic applies

Applies

Topic does not apply

Does not apply

Topic applies but command hidden by default

Command or commands hidden by default.

You can enable Just-In-Time debugging to launch the Visual Studio debugger automatically when a program, running outside Visual Studio, encounters a fatal error.

Procedure

To enable/disable Just-In-Time debugging

  1. On the Tools menu, click Options.

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

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

  4. 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.

  5. Click OK.

See Also

Concepts

Reference

Tags :


Community Content

Thomas Lee
Tools Menu?

Is there other shortcut to get into Tools Menu other than starting the program itself?

[tfl - 03 10 09] Hi - and thanks for your post. You should post questions like this to the MSDN Forums at http://forums.microsoft.com/msdn or the MSDN Newsgroups at http://www.microsoft.com/communities/newsgroups/en-us/. You are much more likely get a quicker response using the forums than through the Community Content. For specific help about:
Visual Studio :
http://groups.google.com/groups/dir?sel=usenet%3Dmicrosoft.public.vstudio%2C&
SQL Server :
http://groups.google.com/groups/dir?sel=usenet%3Dmicrosoft.public.sqlserver%2C&
.NET Framework :
http://groups.google.com/groups/dir?sel=usenet%3Dmicrosoft.public.dotnet.framework
PowerShell : http://groups.google.com/group/microsoft.public.windows.powershell/topics?pli=1
All Public : http://groups.google.com/groups/dir?sel=usenet%3Dmicrosoft.public%2C&


Edward Brey
In Team Explorer, enable "Show all settings"

If Team Explorer is installed stand-alone, there is a check-box at the bottom labeled "Show all settings" that must be enabled to see the options listed on this page.

Tags : contentbug

spcalpoly
I found the Tools Menu!!!
In order to do what the instructions say, you have to allow the debugger to start up. Then once you have the program up it will try to debug it. And if your case is anything like mine, then you get stuck in this nasty loop when you try and continue. You can never get out of it. So I hit Break, and I was into the program. Once in the program, find the Tools Menu and then click Options. When you are in the Debugger folder, you have to click the button JIT Settings. There you will be able to disable the debugging tool.
Tags :

Page view tracker