APIdia Launch Partner
Top Description Fields Constructors Methods
sun.jvm.hotspot.debugger.cdbg.basic

public Class BasicLineNumberInfo

extends Object
implements LineNumberInfo
Class Inheritance
All Implemented Interfaces
sun.jvm.hotspot.debugger.cdbg.LineNumberInfo
Imports
sun.jvm.hotspot.debugger.*, sun.jvm.hotspot.debugger.cdbg.*

Describes line number information for a given range of program counters.

Field Summary

Modifier and TypeField and Description
private Address
private int
private String
private Address

Constructor Summary

AccessConstructor and Description
public
BasicLineNumberInfo(String sourceFileName, int lineNo, Address startPC, Address endPC)

Method Summary

Modifier and TypeMethod and Description
public Address
getEndPC()

Implements sun.jvm.hotspot.debugger.cdbg.LineNumberInfo.getEndPC.

FIXME: specify whether this is inclusive or exclusive (currently when BasicLineNumberMapping.recomputeEndPCs() is called, this is exclusive)

public int
public String
getSourceFileName()

Implements sun.jvm.hotspot.debugger.cdbg.LineNumberInfo.getSourceFileName.

Not specified whether this is an absolute or relative path.

public Address
public void
setEndPC(Address pc)

For recomputing end PCs if they are not available in the debug info

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

endPCback to summary
private Address endPC
lineNoback to summary
private int lineNo
sourceFileNameback to summary
private String sourceFileName
startPCback to summary
private Address startPC

Constructor Detail

BasicLineNumberInfoback to summary
public BasicLineNumberInfo(String sourceFileName, int lineNo, Address startPC, Address endPC)

Method Detail

getEndPCback to summary
public Address getEndPC()

Implements sun.jvm.hotspot.debugger.cdbg.LineNumberInfo.getEndPC.

FIXME: specify whether this is inclusive or exclusive (currently when BasicLineNumberMapping.recomputeEndPCs() is called, this is exclusive)

getLineNumberback to summary
public int getLineNumber()

Implements sun.jvm.hotspot.debugger.cdbg.LineNumberInfo.getLineNumber.

getSourceFileNameback to summary
public String getSourceFileName()

Implements sun.jvm.hotspot.debugger.cdbg.LineNumberInfo.getSourceFileName.

Not specified whether this is an absolute or relative path.

getStartPCback to summary
public Address getStartPC()

Implements sun.jvm.hotspot.debugger.cdbg.LineNumberInfo.getStartPC.

setEndPCback to summary
public void setEndPC(Address pc)

For recomputing end PCs if they are not available in the debug info