Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save arosien/7383b5aba1f15aeba847b8db8b44cdad to your computer and use it in GitHub Desktop.
Save arosien/7383b5aba1f15aeba847b8db8b44cdad to your computer and use it in GitHub Desktop.
Daffodil extension v.1.3.1 external jar schema breakpoint
  • I set a breakpoint in pcap.dfdl.xsd on line 168 (first use of the Ethernet element).
  • I start the debug session. This pauses at the beginning of the parse, and I hit "Continue" which then breaks on line 168 (Ethernet element).
  • I open the ethernetIP.dfdl.xsd file via normal VSCode File->Open commands. I add a breakpoint to line 68 (declaration of MACDest element).
  • I press "Continue" and the ethernet breakpoint is hit.
  • If I click on the Call Stack where MACDest is at the top of the stack, a different view of MACDest is shown: it is from within the ethernetIP jar file. I suspect this is from a plugin I have installed locally (https://marketplace.visualstudio.com/items?itemName=wmanth.jar-viewer ?), but I'm not sure and would need external validation for.

I am surprised that the separately-opened xsd breakpoint is correctly mapped, but it seems to work for me.

@arosien
Copy link
Author

arosien commented Aug 31, 2023

Screen Shot 2023-08-30 at 2 46 31 PM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment