Shanedell edited a comment on issue #57:
URL: https://github.com/apache/daffodil-vscode/issues/57#issuecomment-994125067
So @mbeckerle I was able successfully debug the PCAP schema using the
extension, with the updates I created. I plan to push my updates here soon just
want to make sure to scan over everything for issues.
But all I did was follow your instructions above of. Then create this
`.vscode/launch.json`
```
{
"version": "0.2.0",
"configurations": [
{
"request": "launch",
"type": "dfdl",
"name": "Wizard Config",
"program":
"/FULL/PATH/TO/dfdl-pcap/src/main/resources/com/tresys/pcap/xsd/pcap.dfdl.xsd",
"data":
"/FULL/PATH/TO/dfdl-pcap/src/test/resources/com/tresys/pcap/data/dns.cap",
"debugServer": 4711,
"infosetOutput": {
"type": "file",
"path": "${workspaceFolder}/infoset.xml"
},
"trace": true,
"stopOnEntry": true,
"useExistingServer": false,
"openHexView": false,
"openInfosetView": false,
"openInfosetDiffView": false,
"daffodilDebugClasspath":
"/FULL/PATH/TO/dfdl-ethernet/target/dfdl-ethernetip-1.0.0.jar"
}
]
}
```
With this I was able to start the extension debugging on the schema with
successful launch. Was able to step into, then once hit continue the infoset
was successfully created.
I also wasn't sure that when the user clicks `Browse` for the file picker
for jar files if it should just replace the value already in the config or
append to it so I made two check boxes where the person running the wizard can
chose replace or append.
When I make a PR I will make a steps to tests, with what I did to get it to
fully work.
--
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]