You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The variables in my widgets.scope or nvim-dap-text are not updated, if i changed them with the repl or with session.evaluate().
But they get updated, if do one further debuggin step.
I think the current behavior is confusing, because the shown variables are wrong after a repl command or a session.evaluate().
Possible Solutions
Is there an API function to update this variables and an API call to check if some statements were inserted in the repl?
Considered Alternatives
No response
The text was updated successfully, but these errors were encountered:
This is a bit tricky as the client doesn't know for sure if an evaluate is changing values or not.
The scopes widget uses the cached variables and they're currently only updated on a new stopped event.
It would be possible to update them on each evaluate too but I kinda don't want to have to pay the costs for that given how often it's not needed.
Might make this configurable but would like to see more feedback about this
Problem Statement
The variables in my widgets.scope or nvim-dap-text are not updated, if i changed them with the repl or with session.evaluate().
But they get updated, if do one further debuggin step.
I think the current behavior is confusing, because the shown variables are wrong after a repl command or a session.evaluate().
Possible Solutions
Is there an API function to update this variables and an API call to check if some statements were inserted in the repl?
Considered Alternatives
No response
The text was updated successfully, but these errors were encountered: