mbeckerle commented on issue #265: URL: https://github.com/apache/daffodil-vscode/issues/265#issuecomment-1358002906
I am able to reproduce this. [image: image.png] On Fri, Dec 16, 2022 at 2:51 PM Adam Rosien ***@***.***> wrote: > Repro steps: > > - Download the main schema, PCAP <https://github.com/DFDLSchemas/PCAP> > to the local disk. > - Also check out the dependent schema, ethernetIP > <https://github.com/DFDLSchemas/ethernetIP>, to the local disk. You > need to package it into a jar file via sbt package. > - We're going to set up a Daffodil schema run. The schema is > pcap.dfdl.xsd, and set a breakpoint at line 168 to make the stepping > easier: > > <xs:element name="Ethernet" type="eth:Ethernet" dfdl:choiceBranchKey="1"/> > > > - We need to ensure that the ethernetIP.dfdl.xsd schema, contained in > the jar file (likely named dfdl-ethernetip-1.2.0.jar), is on the > classpath for the Daffodil debugger. If you using the installed Daffodil VS > Code extension you would add a daffodilDebugClasspath setting to the > launch.json configuration, like "daffodilDebugClasspath": > "/Users/arosien/nteligen/ethernetIP/target/dfdl-ethernetip-1.2.0.jar". > If using a locally built Daffodil debugger backend, you would add the jar > to the "unmanaged" directory server/core/lib, which will add that jar > to the runtime classpath of the manually-launched backend. > - If running a locally-built Daffodil backend, launch it first. > Otherwise proceed to the next step. > - If running a locally-built extension, launch it. Otherwise proceed > to the next step. > - Launch the Daffodil config described above, that points to the PCAP > schema which points to the ethernetIP schema contained in the > classpath-available jar. > - Once the debugging session starts, press "Continue" to advance to > the breakpoint we set earlier. > - Press "Step Over", which should advance into the ethernetIP schema, > as per the screenshot above. > > Check: > > - Does the ethernetIP schema file open in VS Code? > - If you click on the top of the stack, does it open the ethernetIP > schema in VS Code? > > @mbeckerle <https://github.com/mbeckerle> @scholarsmate > <https://github.com/scholarsmate> @michael-hoke > <https://github.com/michael-hoke> can you repro and share your software > versions and settings? (My installation opens the schema contained in the > jar file without a problem.) > > — > Reply to this email directly, view it on GitHub > <https://github.com/apache/daffodil-vscode/issues/265#issuecomment-1355511395>, > or unsubscribe > <https://github.com/notifications/unsubscribe-auth/AALUDA43TTOYZHTKXIDUS4TWNTB2PANCNFSM57HSD67Q> > . > You are receiving this because you were mentioned.Message ID: > ***@***.***> > -- 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]
