IDebugEngine3::SetJustMyCodeState

This method tells the debug engine about the JustMyCode state information.

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

Concepts

IDebugEngine3

JMC_CODE_SPEC