JustInTimeDebugging Property

Home Page (Objects)OverviewFAQReference

Applies to: Debugger object

Gets or sets whether just-in-time debugging is available.

Syntax

object.JustInTimeDebugging [=boolean]

Parameters

object

An expression that evaluates to a Debugger object.

boolean

A Boolean that specifies whether just-in-time debugging is available. Possible values are:

Remarks

The JustInTimeDebugging property has the Boolean type.

When you make just-in-time debugging available, you also make remote procedure call debugging available. For details, see the RemoteProcedureCallDebugging property.

If just-in-time debugging is not available, and you run a program outside the debugger, if the program fails you can't get help from the debugger. However, if just-in-time debugging is available, the debugger starts immediately.

In the Developer Studio user interface, you enable or disable just-in-time debugging by selecting or clearing the Just-in-time debugging check box on the Debug tab (Tools menu, Options command).

Example

The following example enables just-in-time debugging:

Debugger.JustInTimeDebugging = True