JeremyYao opened a new pull request, #1520:
URL: https://github.com/apache/daffodil-vscode/pull/1520

   Closes #1518
   Closes #1519
   
   ## Description
   
   Hotfix for 1.5.0 SNAPSHOT. 
   
   Fixes an issue where 
https://github.com/apache/daffodil-vscode/commit/3e518ec86ba9c395f21aee20e4b4bacaca885494
 would cause the default launch.json config generated by the launch config 
wizard to fail and not run a DFDL debugging session. 
   
   Fixes an issue where `yarn test` Daffodil Debugger tests had the VS Code 
window hang instead of downloading Daffodil JAR files
   
   ## Wiki
   
   - [x] I have determined that no documentation updates are needed for these 
changes
      - Rationale: These are bug fixes. No documentation needed
   - [ ] I have added following documentation for these changes
   
   
   ## Review Instructions including Screenshots
   
   Do all two sections please.
   
   ### Testing launch.json issues
   
   1. Delete your launch.json file
   2. Create a launch.json from the launch configuration wizard 
   
   <img width="627" height="85" alt="image" 
src="https://github.com/user-attachments/assets/b7e513c1-3e08-4805-9aaf-7dd284cf8fec";
 />
   
   3. Do not update anything in there. Press save. 
   4. Run a DFDL debugging session with your preferred DFDL schema and data 
file of choice
   
   <img width="934" height="589" alt="image" 
src="https://github.com/user-attachments/assets/7c43104d-341c-433e-90e6-f57a387c4ac7";
 />
   
   <img width="946" height="590" alt="image" 
src="https://github.com/user-attachments/assets/0089ca03-c53c-422e-ae50-422012b0ce30";
 />
   
   ### Testing `yarn test` Daffodil Debugger hanging
   
   1. At the top-level folder of the repo, type in one-liner command `git clean 
-fdx; yarn; yarn package; yarn test` 
   2. Verify nothing hangs and the test VS Code window shows it downloading the 
Daffodil Jar and performing DFDL debugging items. 
   3. WARNING: IT MIGHT TAKE A WHILE AS IT DOWNLOADS PREVIOUS DAFFODIL VS CODE 
JARS
   
   <img width="468" height="337" alt="image" 
src="https://github.com/user-attachments/assets/4a0ebf35-4ad1-4249-87aa-4671bba034a0";
 />
   
   
   
   6. Modify your launch.json configuration to include several permutations of 
schema.path and data being `""`, their respective `${command:AskFor...}`, or 
the JSON property being missing,
   
   <img width="537" height="292" alt="image" 
src="https://github.com/user-attachments/assets/8ae8364c-c22c-436b-895b-84dbae6a20bf";
 />
   
   


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