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

public Interface CDebugInfoDataBase

Known Direct Implementers
sun.jvm.hotspot.debugger.cdbg.basic.BasicCDebugInfoDataBase
Imports
sun.jvm.hotspot.debugger.*

Database for C and C++ debug information. This is being kept as minimal as possible for now. It is not complete; for example, it will have to be extended to support scoped information (module scope, namespace scope).

Method Summary

Modifier and TypeMethod and Description
public BlockSym
debugInfoForPC(Address pc)

Return debug info (closest lexically-enclosing block) for current program counter.

public void
iterate(TypeVisitor t)

Iteration through all types

public void
iterate(LineNumberVisitor v)

Iteration through all line number information in this database.

public LineNumberInfo
lineNumberForPC(Address pc)

Returns line number information for the given PC, including source file name (not specified whether this is an absolute or relative path) and start and end PCs for this line.

public GlobalSym
lookupSym(String name)

Look up global or module-local symbol by name.

public Type
lookupType(String name)

Name-to-type mapping

public Type
lookupType(String name, int cvAttributes)

Name-to-type mapping with const/volatile qualifications

Method Detail

debugInfoForPCback to summary
public BlockSym debugInfoForPC(Address pc)

Return debug info (closest lexically-enclosing block) for current program counter. Returns null if no debug information found or available.

iterateback to summary
public void iterate(TypeVisitor t)

Iteration through all types

iterateback to summary
public void iterate(LineNumberVisitor v)

Iteration through all line number information in this database.

lineNumberForPCback to summary
public LineNumberInfo lineNumberForPC(Address pc) throws DebuggerException

Returns line number information for the given PC, including source file name (not specified whether this is an absolute or relative path) and start and end PCs for this line. Returns null if no line number information is available.

lookupSymback to summary
public GlobalSym lookupSym(String name)

Look up global or module-local symbol by name. FIXME: need some way to identify modules -- has not been thought through yet because it isn't clear exactly how these are represented in the Visual C++ debug info.

lookupTypeback to summary
public Type lookupType(String name)

Name-to-type mapping

lookupTypeback to summary
public Type lookupType(String name, int cvAttributes)

Name-to-type mapping with const/volatile qualifications