MCPcopy Index your code
hub / github.com/processing/processing / printStackTrace

Method printStackTrace

java/src/processing/mode/java/Debugger.java:745–759  ·  view source on GitHub ↗

Print call stack trace of a thread. Only works on suspended threads. @param t suspended thread to print stack trace of

(ThreadReference t)

Source from the content-addressed store, hash-verified

743 * @param t suspended thread to print stack trace of
744 */
745 protected void printStackTrace(ThreadReference t) {
746 if (!t.isSuspended()) {
747 return;
748 }
749 try {
750 System.out.println("stack trace for thread " + t.name() + ":");
751 int i = 0;
752 for (StackFrame f : t.frames()) {
753 // Location l = f.location();
754 System.out.println(i++ + ": " + f.toString());
755 }
756 } catch (IncompatibleThreadStateException ex) {
757 logitse(ex);
758 }
759 }
760
761
762 /**

Callers 15

nextPageMethod · 0.45
ipMethod · 0.45
disposeMethod · 0.45
runMethod · 0.45
ClientMethod · 0.45
stopMethod · 0.45
disposeMethod · 0.45
runMethod · 0.45
writeMethod · 0.45
endDrawMethod · 0.45
valueChangedMethod · 0.45

Calls 3

logitseMethod · 0.95
printlnMethod · 0.45
toStringMethod · 0.45

Tested by

no test coverage detected