-
Notifications
You must be signed in to change notification settings - Fork 25
Add Watch Pane support #1037
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
Merged
Merged
Add Watch Pane support #1037
Changes from all commits
Commits
Show all changes
28 commits
Select commit
Hold shift + click to select a range
0766e80
Add watch pane support
lionel- bdd3595
Add idle task variant that runs in debug prompt
lionel- 83d641b
Rename `evaluate_expression() to `debug_evaluate()`
lionel- 6c27ec8
Capture console output when idle tasks are running
lionel- 700282f
Pass captured output to idle task
lionel- 90a7b73
Streamline response channel init
lionel- a6718a3
Add tests for `evaluate` request
lionel- 1f5121a
Return explicit errors for unknown frame id and frame variable
lionel- e20d996
Fix `evaluate()` at top-level
lionel- 99064bf
Rename `r_main` to `console`
lionel- 1762d9c
Add support for printing in watch pane
lionel- 848a62e
Prefix watch pane commands with `/`
lionel- 3ac87fb
Create capture guard from caller
lionel- 572a5c7
Rename to more descriptive `spawn_idle_any_prompt()`
lionel- ff7f1bd
Simpler capture branching
lionel- 79f5475
Move utils to more natural place
lionel- 97753da
Use common spawn implementation
lionel- 8591f6b
Slightly clearer control flow
lionel- 3aaa772
Safer handling of response channel
lionel- ceaa0c9
Remove dangling dev feature
lionel- 3dec587
Increase frame IDs monotonically over process lifetime
lionel- 1af5346
Address code review
lionel- c0ef83b
Extract `into_evaluate_response()`
lionel- ebdf715
Move evaluate methods to DAP
lionel- 06855ab
Remove `object_variable_from_value()`
lionel- 42da6b1
Address code review
lionel- 2d31c7f
Correctly restore capture state
lionel- 764947f
Don't include backtrace in DAP evaluate errors
lionel- File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.