do not stop the tracer if we have exited the original frame and show thread id

This commit is contained in:
Egor Ushakov
2018-12-20 17:47:03 +03:00
parent 5ebfb6334a
commit 6970a4b3a2
@@ -112,11 +112,8 @@ public class CallTracer {
}
}
int indent = thread.frameCount() - myStartIndent;
if (indent < 0) {
stop();
return;
}
myDebugProcess.printToConsole("\n" + StringUtil.repeat(" ", indent) + methodEntryEvent.method());
String indentString = indent < 0 ? "-" : StringUtil.repeat(" ", indent);
myDebugProcess.printToConsole("\n" + indentString + methodEntryEvent.method() + " thread " + thread.uniqueID());
}
catch (IncompatibleThreadStateException e) {
LOG.error(e);