本文整理汇总了Java中sun.jvm.hotspot.debugger.cdbg.CDebugger类的典型用法代码示例。如果您正苦于以下问题:Java CDebugger类的具体用法?Java CDebugger怎么用?Java CDebugger使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
CDebugger类属于sun.jvm.hotspot.debugger.cdbg包,在下文中一共展示了CDebugger类的6个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: newWrongTypeException
import sun.jvm.hotspot.debugger.cdbg.CDebugger; //导入依赖的package包/类
protected WrongTypeException newWrongTypeException(Address addr) {
String message = "No suitable match for type of address " + addr;
CDebugger cdbg = VM.getVM().getDebugger().getCDebugger();
if (cdbg != null) {
// Most common case: V-table pointer is the first field
Address vtblPtr = addr.getAddressAt(0);
LoadObject lo = cdbg.loadObjectContainingPC(vtblPtr);
if (lo != null) {
ClosestSymbol symbol = lo.closestSymbolToPC(vtblPtr);
if (symbol != null) {
message += " (nearest symbol is " + symbol.getName() + ")";
}
}
}
return new WrongTypeException(message);
}
示例2: getCDebugger
import sun.jvm.hotspot.debugger.cdbg.CDebugger; //导入依赖的package包/类
public CDebugger getCDebugger() {
if (cdbg == null) {
String cpu = getCPU();
if (cpu.equals("ia64") ) {
// IA-64 is not supported because of stack-walking issues
return null;
}
cdbg = new BsdCDebugger(this);
}
return cdbg;
}
示例3: getCDebugger
import sun.jvm.hotspot.debugger.cdbg.CDebugger; //导入依赖的package包/类
public CDebugger getCDebugger() {
if (cdbg == null) {
String cpu = getCPU();
if (cpu.equals("ia64") ) {
// IA-64 is not supported because of stack-walking issues
return null;
}
cdbg = new LinuxCDebugger(this);
}
return cdbg;
}
示例4: getCDebugger
import sun.jvm.hotspot.debugger.cdbg.CDebugger; //导入依赖的package包/类
public CDebugger getCDebugger() throws DebuggerException {
return null;
}
示例5: getCDebugger
import sun.jvm.hotspot.debugger.cdbg.CDebugger; //导入依赖的package包/类
@Override
public CDebugger getCDebugger() throws DebuggerException {
return null;
}
示例6: getCDebugger
import sun.jvm.hotspot.debugger.cdbg.CDebugger; //导入依赖的package包/类
/** If this platform supports C/C++ debugging via the CDebugger
interface, returns a CDebugger object; otherwise returns
null. */
public CDebugger getCDebugger() throws DebuggerException;