mbeckerle opened a new issue, #614:
URL: https://github.com/apache/daffodil-vscode/issues/614

   I am trying to configure the vscode extension to allow me to single step 
through a DFDL schema.
   
   I am unable to debug what is wrong with the launch.json because it fails, 
and a backtrace or something like one is displayed on the terminal window, but 
it is erased a split second later before it can be read or captured.
   
   I'm attaching a little video of this I created by doing a MS-Teams screen 
share in a meeting that was just me and recording it. 
   
   
https://user-images.githubusercontent.com/1524099/235781974-3e8b06a2-e4d2-4a78-8504-2e45c53053bf.mp4
   
   The action occurs between 8 and 10 seconds into the video. 
   
   The VSCode environment is then stuck for a minute perhaps (I didn't time it) 
with a run indicator at the top still moving until it times out and leaves me 
with a dialog to dismiss. 
   
   Github, in its infinite wisdom, won't let me attach the launch.json file 
here. And even renaming it to launch_json.txt it still won't let me attach it. 
So I'm inlining it here. I already know there are things that need to be added 
to the daffodilDebugClasspath that are not listed. The complaint on the 
terminal is quite likely just telling me something is missing. 
   
   ```json
   {
       // Use IntelliSense to learn about possible attributes.
       // Hover to view descriptions of existing attributes.
       // For more information, visit: 
https://go.microsoft.com/fwlink/?linkid=830387
       "version": "0.2.0",
       "configurations": [
           {
               "type": "dfdl",
               "request": "launch",
               "name": "vmf-pmmc-dfdl run",
               "program": 
"${workspaceFolder}/src/main/resources/com/owlcyberdefense/vmf-multi/xsd/vmf-noc.dfdl.xsd",
               "stopOnEntry": true,
               "data": 
"${workspaceFolder}/src/test/resources/data/owl/binary-file-zip-message.dat",
               "infosetFormat": "xml",
               "infosetOutput": {
                   "type": "file",
                   "path": "/tmp/vmf-pmmc-dfdl-infoset.xml"
               },
               "debugServer": 4711,
               "openHexView": false,
               "openInfosetView": false,
               "openInfosetDiffView": false,
               "daffodilDebugClasspath": 
"${workspaceFolder}/src/main/resources:${workspaceFolder}/src/test/resources:${workspaceFolder}/../../zipLayerTransformer/src/main/resources:${workspaceFolder}/../noc-header/src/main/resources:${workspaceFolder}/../../../../../../opensource/DFDLSchemas/mil-std-2045/src/main/resources:${workspaceFolder}/lib_managed/jars/com.owlcyberdefense/zip-layer-transformer/zip-layer-transformer-1.0.0.jar",
               "variables": {},
               "tunables": {},
               "dataEditor.omegaEditPort": 9001,
               "dataEditor.logFile": 
"${workspaceFolder}/dataEditor-${omegaEditPort}.log",
               "dataEditor.logLevel": "info"
           }
       ]
   }
   
   ```
   


-- 
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]

Reply via email to