-
Notifications
You must be signed in to change notification settings - Fork 1
Dap estgi work #14
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
Dap estgi work #14
Conversation
csabahruska
commented
Jul 5, 2023
- Fix package.json type attribute
- VSCode templates default to .ghc_stgapp
- Factor out the dap library from the estg-dap server executable
…'launch.json' template
…as input and create fullpak from it at init
dap-estgi-server/src/Main.hs
Outdated
moduleInfos <- liftIO $ getModuleListFromFullPak program | ||
ghcstgappPath <- liftIO $ findProgram program >>= \case | ||
[fname] -> pure fname | ||
names -> fail $ "ambiguous program path, multiple matches: " ++ show names |
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.
Potentially need to handle the empty match []
case.
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.
Consider using sendError
as opposed to fail
# dap-extension README | ||
|
||
This is the README for your extension "dap-extension". After writing up a brief description, we recommend including the following sections. | ||
This is the README for your extension "dap-estgi-extension". After writing up a brief description, we recommend including the following sections. |
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.
Might need to continue this renaming in a few more places:
dap-estgi-server/src/Main.hs
120:-- > "type": "dap-extension"
dap-estgi-vscode-extension/CHANGELOG.md
3:All notable changes to the "dap-extension" extension will be documented in this file.
dap-estgi-vscode-extension/README.md
1:# dap-extension README
dap/session/Main.hs
91:-- > "type": "dap-extension"
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.
LGTM