Skip to content
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

Add support for watch expressions. #3

Open
indiejames opened this issue May 11, 2016 · 2 comments
Open

Add support for watch expressions. #3

indiejames opened this issue May 11, 2016 · 2 comments

Comments

@indiejames
Copy link
Owner

Right now setting a watch on a variable returns an exception. Apparently watch calls eval to get the value of an expression instead of allowing the debug adapter to set the watch.

@indiejames indiejames added this to the 1.0 Release milestone Jun 16, 2016
@indiejames
Copy link
Owner Author

I added support for watch expressions to the eval call, but encountered a race condition. We want to use reval to evaluate the expression in a frame context after a breakpoint is hit, but the breakpoint event is reported and triggers the reval call before JDI seems to be ready for it. If I set a breakpoint in my debugger code and catch it then continue it, the call works. If I don't JDI complains that the call must be made at a breakpoint.

@indiejames
Copy link
Owner Author

Haven't figured this out yet, so I'm dropping this from milestone 1.

@indiejames indiejames removed this from the 1.0 Release milestone Nov 7, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant