JeremyYao commented on PR #1361:
URL: https://github.com/apache/daffodil-vscode/pull/1361#issuecomment-3221735007

   Collaborate with @michael-hoke on trying to investigate the issue. 
   
   We discovered that when you execute the TDML file in the above .zip file
   <img width="1033" height="252" alt="image" 
src="https://github.com/user-attachments/assets/7b82c058-09f8-409d-aec4-5a90b77bda2e";
 />
   the DFDL schema skips over the breakpoints even when they exist in the file. 
   
   However, if you attempt to execute the TDML file via a launch.json config 
where the TDML action is set to "execute" and you have the path to the TDML 
File specified:
   
   ```JSON
   {
               "request": "launch",
               "type": "dfdl",
               "name": "Wizard Config",
               "schema": {
                   "path": "${command:AskForSchemaName}",
                   "rootName": null,
                   "rootNamespace": null
               },
               "data": "${command:AskForDataName}",
               "debugServer": 4711,
               "infosetFormat": "xml",
               "infosetOutput": {
                   "type": "file",
                   "path": "${workspaceFolder}/target/infoset.xml"
               },
               "tdmlConfig": {
                   "action": "execute",
                   "name": "Default Test Case",
                   "path": "${workspaceFolder}/test_images/mike.tdml"
               },
               "trace": true,
               "stopOnEntry": true,
               "useExistingServer": false,
               "openDataEditor": false,
               "openInfosetView": false,
               "openInfosetDiffView": false,
               "daffodilDebugClasspath": [],
               "dataEditor": {
                   "port": 9000,
                   "logging": {
                       "file": 
"${workspaceFolder}/dataEditor-${omegaEditPort}.log",
                       "level": "info"
                   }
               },
               "dfdlDebugger": {
                   "logging": {
                       "file": "${workspaceFolder}/daffodil-debugger.log",
                       "level": "INFO"
                   }
               }
           }
   ```
   then the breakpoints are being hit. 


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