Microsoft SDK for Java

IRemoteMethodField::
GetLineInfo

The GetLineInfo method of the IRemoteMethodField interface returns an IJavaEnumLINEINFO enumerator of LINEINFO structures. These structures describe the mapping between source lines and bytecode offsets within the Java bytecodes representing the method. This mapping is in order of increasing bytecode offset. The last element in the enumeration is a "dummy" LINEINFO with a line number field set to 0 (zero) and the offset field set to a bytecode offset just past the end of the method.

Syntax

HRESULT GetLineInfo(IJavaEnumLINEINFO **ppEnum)

Parameters

[out] ppEnum Returns an enumerator of LINEINFO structures.

Return Value

S_OK Success.

E_FAIL This method cannot have bytecode source line mapping information.

E_NODEBUGINFORMATION This method does not have bytecode source line mapping information.

E_OUTOFMEMORY Insufficient memory.

© 1999 Microsoft Corporation. All rights reserved. Terms of use.