DkmScriptDocumentJmcState Enum

Definition

The Just-My-Code state of the document exposed via the DkmScriptDocument.JmcState variable. The JMC state of the document is ignored if JMC is not enabled and all documents are treated as user code.

This API was introduced in Visual Studio 12 RTM (DkmApiVersion.VS12RTM).

public enum class DkmScriptDocumentJmcState
public enum class DkmScriptDocumentJmcState
enum DkmScriptDocumentJmcState
public enum DkmScriptDocumentJmcState
type DkmScriptDocumentJmcState = 
Public Enum DkmScriptDocumentJmcState
Inheritance
DkmScriptDocumentJmcState

Fields

LibraryCode 2

The script document is library code. Unhandled exceptions and first chance exceptions where the call stack contains user code are exposed to the user. Step operations bypass the non-user code unless the step originates in non-user code. Stack frames in library code are collapsed to [External Code].

MyCode 1

The script document is user code and should not be hidden from the user in any way. All script documents behave as MyCode when JMC is not enabled.

UnrelatedCode 3

The script document is unrelated to any user code. Unhandled exceptions and first chance exceptions are not visible to the user. Embedded script breakpoints are also not visible to the user.

Unsure 0

The project system and/or runtime engine does not know whether the script document is user code. Unsure means the engine will continuing querying the rest of the project systems until one of them returns something other than Unsure. If all project systems return Unsure, the script will be treated by the engine as though it is user code (see MyCode state).

Applies to