Partager via


IJsDebugBreakPoint::GetDocumentPosition Method

Returns the position of the statement where the breakpoint was bound.

Syntax

HRESULT GetDocumentPosition(  
   UINT64 *pDocumentId,  
   DWORD *pCharacterOffset,  
   DWORD *pStatementCharCount  
);  

Parameters

pDocumentId
[out] Unique ID for a source document (pointer to the IDebugDocumentText).

pCharacterOffset
[out] The zero-based character offset from the start of the script.

pStatementCharCount
[out] The length of current statement, which starts at *pCharacterOffset, in characters.

Return Value

Requirements

Header: jscript9diag.h

See also

IJsDebugBreakPoint Interface