Skip to content

Add a "pause on error" command to the VM service #23900

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

Closed
nex3 opened this issue Jul 22, 2015 · 2 comments
Closed

Add a "pause on error" command to the VM service #23900

nex3 opened this issue Jul 22, 2015 · 2 comments
Assignees
Labels
area-observatory closed-obsolete Closed as the reported issue is no longer relevant type-enhancement A request for a change that isn't a bug

Comments

@nex3
Copy link
Member

nex3 commented Jul 22, 2015

When debugging, it's very useful for a user to be able to pause the program when an error occurs. Of course there's already top-level error handling that can be done, but specifically being able to pause at the site where the error is thrown is most useful for inspecting local state and setting relevant breakpoints for a future run.

This is supported via Observatory, so I assume it's available privately in the VM service. Making it public would be great, and would help improve the debugging UI for the test runner.

@nex3 nex3 added Type-Enhancement area-vm Use area-vm for VM related issues, including code coverage, and the AOT and JIT backends. labels Jul 22, 2015
@sethladd
Copy link
Contributor

This would be great for Sky development, too.

@iposva-google iposva-google added area-observatory and removed area-vm Use area-vm for VM related issues, including code coverage, and the AOT and JIT backends. VM-Observatory labels Jul 22, 2015
@turnidge turnidge self-assigned this Aug 10, 2015
@turnidge
Copy link
Contributor

We have implemented the ability to break when any exception is thrown. This is currently implemented in the hidden method _setExceptionPauseInfo.

I agree that this service method should be made public.

@kevmoo kevmoo added type-enhancement A request for a change that isn't a bug and removed type-enhancement labels Mar 1, 2016
@lrhn lrhn added the closed-obsolete Closed as the reported issue is no longer relevant label May 9, 2023
@lrhn lrhn closed this as completed May 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-observatory closed-obsolete Closed as the reported issue is no longer relevant type-enhancement A request for a change that isn't a bug
Projects
None yet
Development

No branches or pull requests

6 participants