commit | 5dd87eaa1a950665bc0fddd0a99cbc204856314f | [log] [tgz] |
---|---|---|
author | Shane Dell <shanedell100@gmail.com> | Thu Dec 08 21:20:19 2022 -0500 |
committer | Shane Dell <32347414+Shanedell@users.noreply.github.com> | Tue Jan 03 11:39:50 2023 -0500 |
tree | 83cd0855a844d9e145b72943e41d52169ad2a6be | |
parent | 6369a2fec8d2a2e961ca17f9d9db63221365bd4c [diff] |
Run daffodil-debugger in CI. - Update tests to run the daffodil-debugger in the CI, then run tests against it. - Created two simple tests to ensure the infoset files are created. - Each test has its own debugger instance currently. - Code needed updated to split out a lot of common code: - Create a new daffodilDebuggerUtils file that holds functions that are common to get the debugger running, stopped, etc. - Create a function for doing os checks to remove a lot of duplicated code and limit number of types it shows up in the code. - Update the test schema to be a proper schema so it could be parsed by the debugger. - Create a src/tests/common.ts for common variables that a few different tests use. Later on this include more vars and functions if needed. - Support Java 8 - Ignore com.microsoft.java for scala-steward as the version used is the last one that supports java 8 Closes #301 Closes #337 Closes #377
This is an extension for Visual Studio Code (VS Code) which enables the interactive debugging of DFDL schema parsing using Apache Daffodil.
Until the extension is available in the VS Code Extension Marketplace, please download the latest .vsix
file from the releases page.
:exclamation:NOT necessary if using prebuilt VSIX:exclamation:
:exclamation:NOT necessary if running extension via VS Code without VSIX but a yarn install
will be required:exclamation:
Run full package
yarn package
server/core/target/universal/daffodil-debugger-*.zip apache-daffodil-vscode-*.vsix
The debug server will automatically be run by the extension unless useExistingServer
is to set to true
inside of .vscode/launch.json
If you wish to run the debug server manually the scripts to do so are at the following locations:
/home/USERNAME/.local/share/daffodil-dap
/Users/USERNAME/Library/Application\ Support/daffodil-dap
C:\\Users\\USERNAME\\AppData\\Roaming\\daffodil-dap
Once you have either downloaded the VSIX file or created it you can now install it. There are two options to do this:
Via “Extensions: Install from VSIX” command from within VS Code.
vsix
to bring up the command and pointing it at the vsix
fileVia command line
code --install-extension apache-daffodil-vscode-*.vsix
Please refer to the Wiki page at https://github.com/apache/daffodil-vscode/wiki
You can ask questions on the dev@daffodil.apache.org or users@daffodil.apache.org mailing lists. You can report bugs via GitHub Issues.
Apache Daffodilâ„¢ Extension for Visual Studio Code is licensed under the Apache License, v2.0.
This product includes the logback library, which is available under the Eclipse Public License v1.0.
This product includes the Java Debug Server for Visual Studio Code library, which is available under the Eclipse Public License v1.0.