IJsDebugFrame::GetDocumentPositionWithId Method

Returns the current position of this stack frame within the user-level document.

Syntax

HRESULT GetDocumentPositionWithId(  
   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

IJsDebugFrame Interface