-
Notifications
You must be signed in to change notification settings - Fork 63
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
JVMSetup errors don't print source location #1021
Labels
easy
Issues that are expected to be easy to resolve and might therefore be good for new contributors
subsystem: crucible-jvm
Issues related to Java verification with crucible-jvm
Comments
brianhuffman
changed the title
JVMSetup errors don
JVMSetup errors don't print source location
Jan 20, 2021
brianhuffman
added
the
subsystem: crucible-jvm
Issues related to Java verification with crucible-jvm
label
Jan 20, 2021
brianhuffman
added
the
easy
Issues that are expected to be easy to resolve and might therefore be good for new contributors
label
Feb 12, 2021
brianhuffman
pushed a commit
that referenced
this issue
Feb 15, 2021
This means that JVMSetupError exceptions can now be caught by the standard TopLevelException handlers, and get shown with the expected stack traces in the saw-script REPL. This is done using a new existentially-typed `SomeTopLevelException` constructor, as recommended by the Control.Exception documentation. Fixes #1021.
With #1075, running the |
brianhuffman
pushed a commit
that referenced
this issue
Feb 17, 2021
This means that JVMSetupError exceptions can now be caught by the standard TopLevelException handlers, and get shown with the expected stack traces in the saw-script REPL. This is done using a new existentially-typed `SomeTopLevelException` constructor, as recommended by the Control.Exception documentation. Fixes #1021.
brianhuffman
pushed a commit
that referenced
this issue
Feb 23, 2021
This means that JVMSetupError exceptions can now be caught by the standard TopLevelException handlers, and get shown with the expected stack traces in the saw-script REPL. This is done using a new existentially-typed `SomeTopLevelException` constructor, as recommended by the Control.Exception documentation. Fixes #1021.
brianhuffman
pushed a commit
that referenced
this issue
Feb 25, 2021
This means that JVMSetupError exceptions can now be caught by the standard TopLevelException handlers, and get shown with the expected stack traces in the saw-script REPL. This is done using a new existentially-typed `SomeTopLevelException` constructor, as recommended by the Control.Exception documentation. Fixes #1021.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
easy
Issues that are expected to be easy to resolve and might therefore be good for new contributors
subsystem: crucible-jvm
Issues related to Java verification with crucible-jvm
As an example, here's the
saw
output if you get the argument list wrong on ajvm_execute_func
:I would expect the error message to be printed out with a full saw-script stack trace, with source location information.
This probably has something to do with exception handlers and the custom exception type that JVMSetup uses.
The text was updated successfully, but these errors were encountered: