共用方式為


JMC_CODE_SPEC

Applies to: yesVisual Studio noVisual Studio for Mac

Note

This article applies to Visual Studio 2017. If you're looking for the latest Visual Studio documentation, see Visual Studio documentation. We recommend upgrading to the latest version of Visual Studio. Download it here

This structure is used to set the JustMyCode information for a module.

Syntax

typedef struct _JMC_CODE_SPEC {
    BOOL fIsUserCode;
    BSTR bstrModuleName;
} JMC_CODE_SPEC;
public struct JMC_CODE_SPEC {
    public int    fIsUserCode;
    public string bstrModuleName;
};

Members

fIsUserCode
Non-zero (TRUE) if the module is to be considered user code; otherwise, zero (FALSE) if the module is to be treated as external code and not to be debugged.

bstrModuleName
Name of the module in question.

Remarks

This structure is passed as a list of such structures to the SetJustMyCodeState method.

Requirements

Header: msdbg.h

Namespace: Microsoft.VisualStudio.Debugger.Interop

Assembly: Microsoft.VisualStudio.Debugger.Interop.dll

See also