naga-panchumarty opened a new pull request, #1738:
URL: https://github.com/apache/daffodil-vscode/pull/1738
Closes #1555
## Description
when a variable defined in launch.json does not exist in the DFDL schema,
the debugger previously threw an unhandled ExternalVariableException and
aborted the session entirely. This change catches that exception and changes it
to a warning, allowing the debugger to start normally with the unrecognized
variable simply skipped.
## Wiki
- [x] I have determined that no documentation updates are needed for these
changes
- [ ] I have added the following documentation for these changes
### Confirmation Testing
Manually tested by adding "variables": { "foo": "bar" } to a launch.json
where foo does not exist in the target schema. Confirmed the debugger launches
successfully and the warning message appears. Confirmed that valid variables
(ones that do exist in the schema) are still applied correctly.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]