Skip to content

Commit

Permalink
Debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
wmdietl committed Aug 8, 2024
1 parent 45063ed commit 9e10cd8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ public Void visitMethod(MethodTree tree, Void p) {
// Stop execution by throwing an exception. This makes sure that compilation
// does not proceed, and thus the AST is not modified by further phases of the
// compilation (and we save the work to do the compilation).
throw new RuntimeException();
throw new RuntimeException("CFGProcessor found suitable method");
}
return null;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,10 @@ public void typeProcess(TypeElement e, TreePath p) {
System.err.println(
"BasicTypeProcessor.typeProcess: unexpected Throwable ("
+ t.getClass().getSimpleName()
+ ") when processing "
+ ") when processing "
+ currentRoot.getSourceFile().getName()
+ (t.getMessage() != null ? "; message: " + t.getMessage() : ""));
}
System.err.println("BasicTypeProcessor done with element: " + e);
}
}

0 comments on commit 9e10cd8

Please sign in to comment.