Compartir a través de


IDebugEngine3::SetJustMyCodeState

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 method tells the debug engine about the JustMyCode state information.

Syntax

HRESULT SetJustMyCodeState(
   BOOL           fUpdate,
   DWORD          dwModules,
   JMC_CODE_SPEC* rgJMCSpec
);
int SetJustMyCodeState(
   int             fUpdate,
   uint            dwModules,
   JMC_CODE_SPEC[] rgJMCSpec
);

Parameters

fUpdate
[in] Nonzero (TRUE) to update current information, zero (FALSE) to reset all information (ignoring anything previously set).

dwModules
[in] Number of information structures in rgJMCSpec.

rgJMCSpec
[in] Array of JMC_CODE_SPEC structures to use.

Return Value

If successful, returns S_OK; otherwise, returns error code.

Remarks

JustMyCode is the concept of debugging only the code that belongs to a user and ignoring all intermediate code such as system code—even if source code is available for that system code.

See also