JDTのデバッグ機能の調査

ブレークポイントクラス
org.eclipse.jdt.internal.debug.core.breakpoints.JavaLineBreakpoint

ブレーク時のイベント
public boolean handleBreakpointEvent(Event event, JDIDebugTarget target, JDIThread thread)

thread.handleSuspendForBreakpointQuiet(this);
org.eclipse.jdt.debug.core.IJavaVariable variable = ((JDIStackFrame)thread.computeNewStackFrames().get(0)).getLocalVariables()[i];
System.out.println(variable.getValue().getValueString());















最終更新:2009年07月28日 19:16
ツールボックス

下から選んでください:

新しいページを作成する
ヘルプ / FAQ もご覧ください。