diff --git a/org.ntlab.reverseDebugger/src/org/ntlab/reverseDebugger/CallStackLabelProvider.java b/org.ntlab.reverseDebugger/src/org/ntlab/reverseDebugger/CallStackLabelProvider.java index 1123a4f..da8a087 100644 --- a/org.ntlab.reverseDebugger/src/org/ntlab/reverseDebugger/CallStackLabelProvider.java +++ b/org.ntlab.reverseDebugger/src/org/ntlab/reverseDebugger/CallStackLabelProvider.java @@ -13,9 +13,9 @@ public String getText(Object element) { if (element instanceof TreeNode) { Object value = ((TreeNode)element).getValue(); - if (value instanceof JDIStaticMethodCaller) { - JDIStaticMethodCaller mc = (JDIStaticMethodCaller)value; - return "ThreadID: " + mc.getThreadId(); + if (value instanceof String) { + String threadId = (String)value; + return "ThreadID: " + threadId; } if (value instanceof CallStackModel) { CallStackModel callStackModel = (CallStackModel)value;