mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
do not stop the tracer if we have exited the original frame and show thread id
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user