diff --git a/org.ntlab.reverseDebugger/src/org/ntlab/reversedebugger/ObjectFlowAliasLabelProvider.java b/org.ntlab.reverseDebugger/src/org/ntlab/reversedebugger/ObjectFlowAliasLabelProvider.java index c102080..035e55b 100644 --- a/org.ntlab.reverseDebugger/src/org/ntlab/reversedebugger/ObjectFlowAliasLabelProvider.java +++ b/org.ntlab.reverseDebugger/src/org/ntlab/reversedebugger/ObjectFlowAliasLabelProvider.java @@ -12,6 +12,7 @@ import com.sun.jdi.IntegerValue; import com.sun.jdi.InvalidTypeException; import com.sun.jdi.InvocationException; +import com.sun.jdi.ObjectReference; import com.sun.jdi.StringReference; public class ObjectFlowAliasLabelProvider extends LabelProvider implements ITableLabelProvider { @@ -30,12 +31,14 @@ case 1: return ((StringReference)mc.callInstanceMethod("getClassName")).value(); case 2: - return String.valueOf(((IntegerValue)mc.callInstanceMethod("getLineNo")).value()); + return ((StringReference)mc.callInstanceMethod("getMethodExecutionClassName")).value(); case 3: - return ((StringReference)mc.callInstanceMethod("getStatementType")).value(); + return String.valueOf(((IntegerValue)mc.callInstanceMethod("getLineNo")).value()); case 4: - return ((StringReference)mc.callInstanceMethod("getStatementSignature")).value(); + return ((StringReference)mc.callInstanceMethod("getStatementType")).value(); case 5: + return ((StringReference)mc.callInstanceMethod("getStatementSignature")).value(); + case 6: return ((StringReference)mc.callInstanceMethod("getOccurrenceText")).value(); } } catch (InvalidTypeException | ClassNotLoadedException