-
Notifications
You must be signed in to change notification settings - Fork 78
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
OCaml earlybird debugger #1148
Merged
Merged
OCaml earlybird debugger #1148
Changes from 1 commit
Commits
Show all changes
37 commits
Select commit
Hold shift + click to select a range
a8377fe
Add debug adapter to vscode bindings
sim642 4f0cdc2
Import metadata from earlybird
sim642 cc64062
Port parts of earlybird extension
sim642 795b752
Implement variableGotoClosureCodeLocation command in debugger
sim642 9fff993
Implement startDebug command in debugger
sim642 c64e416
Rename debugger to ocaml.earlybird
sim642 7deac33
Rename Debugger -> Earlybird
sim642 54ab258
Refactor Earlybird
sim642 e5f6ea9
Improve debug debug adapter types
sim642 89fe841
Refactor earlybird code
sim642 8d9a205
Simplify debugger configurations
sim642 4642df3
Remove unused noDebug from debugger
sim642 66a950a
Use full language IDs for breakpoints
sim642 5db1408
Rename earlybird commands
sim642 a6034db
Remove unnecessary earlybird configuration options
sim642 8c35503
Simplify start-debugging configuration
sim642 6c3e538
Make startDebugging type more precise
sim642 3eed2cc
Clean up goto-closure-code-location
sim642 6593ab4
Clean up start-debugging
sim642 d7a823a
Fix variableGetClosureCodeLocation decoding
sim642 bc56b2d
Fix showTextDocument overloads
sim642 4b5ffd2
Add earlybird to CHANGELOG
sim642 83c3799
Mention earlybird integration being expermental
sim642 06acadb
Remove ignore in Earlybird
sim642 387e87c
Add DebugConfiguration API
sim642 3587cd6
Use DebugConfiguration API in Extension_commands
sim642 df50968
Refactor DebugAdapterDescriptor API
sim642 81b968b
Format earlybird entry in CHANGELOG
sim642 1f65a5a
Support custom sandbox in Earlybird
sim642 7a2f76a
Replace a.out in default earlybird configuration
sim642 da6b9be
Add Earlybird module interface
sim642 10be2a5
Add ocaml.ask-debug-program command to initial debug configuration
sim642 f4b5fb6
Add earlybird configuration snippet
sim642 bd5ba01
Add stopOnEntry to automatic debug configurations
sim642 13595c9
Add earlybird to README
sim642 8e684e6
Only leave .bc for earlybird
sim642 a205b96
Add earlybird availability check
sim642 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 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 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 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 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 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
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you describe the issue this commit is fixing? I think also putting it in a separate PR would be valuable.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In VSCode extension API
showTextDocument
has a couple of overloads. Specifically the cases withoutTextDocumentShowOptions
only takeTextDocument
arguments, notUri
: https://code.visualstudio.com/api/references/vscode-api#window.showTextDocument.I think there wasn't a problem before because the
Uri
overload is not used by OCaml Platform.