Partager via


IJsDebugProcess::CreateBreakPoint Method

Sets the breakpoint at the specified document position.

Syntax

HRESULT CreateBreakPoint(  
   UINT64 documentId,  
   DWORD characterOffset,  
   DWORD characterCount,  
   BOOL isEnabled,  
   IJsDebugBreakPoint **ppDebugBreakPoint  
);  

Parameters

documentId
[in] Pointer to IDebugDocumentText.

characterOffset
[in] Character offset from the beginning of the file.

characterCount
[in] Length of the document text within which the breakpoint should be inserted.

isEnabled
[in] Specifies whether the breakpoint is enabled.

ppDebugBreakPoint
[out] Object representing the breakpoint that was created.

Return Value

Requirements

Header: jscript9diag.h

See also

IJsDebugProcess Interface