shanedell commented on issue #648:
URL:
https://github.com/apache/daffodil-vscode/issues/648#issuecomment-1591977031
@mbeckerle Does this output from the terminal looks acceptable?
```bash
2023-06-14 16:58:58,763 [io-compute-5] INFO o.a.d.d.d.DAPodil -
******************************************************
A DAP server for debugging Daffodil schema processors.
Build info:
version: 1.3.0
daffodilVersion: 3.4.0
scalaVersion: 2.12.15
sbtVersion: 1.8.2
******************************************************
2023-06-14 16:58:58,765 [io-compute-5] INFO o.a.d.d.d.DAPodil - launched
with options listenPort: 4711, listenTimeout: 10 seconds
2023-06-14 16:58:58,773 [io-compute-5] INFO o.a.d.d.d.DAPodil - waiting at
tcp://0.0.0.0:4711
2023-06-14 16:59:02,337 [io-compute-blocker-5] INFO o.a.d.d.d.DAPodil -
connected at tcp://0.0.0.0:4711
2023-06-14 16:59:02,465 [io-compute-2] INFO o.a.d.d.d.DAPSession - R> #1
initialize {"clientID":"vscode","clientName":"Visual Studio
Code","adapterID":"dfdl","pathFormat":"path","linesStartAt1":true,"columnsStartAt1":true,"supportsVariableType":true,"supportsVariablePaging":true,"supportsRunInTerminalRequest":true,"locale":"en","supportsProgressReporting":true,"supportsInvalidatedEvent":true,"supportsMemoryReferences":true,"supportsArgsCanBeInterpretedByShell":true,"supportsMemoryEvent":true,"supportsStartDebuggingRequest":true}
2023-06-14 16:59:02,486 [io-compute-11] INFO o.a.d.d.d.DAPSession - <R #1
initialize success
{"supportsConfigurationDoneRequest":true,"supportsHitConditionalBreakpoints":false,"supportsConditionalBreakpoints":false,"supportsEvaluateForHovers":false,"supportsCompletionsRequest":false,"supportsRestartFrame":false,"supportsSetVariable":false,"supportsRestartRequest":false,"supportTerminateDebuggee":false,"supportsDelayedStackTraceLoading":false,"supportsLogPoints":false,"supportsExceptionInfoRequest":false,"supportsDataBreakpoints":false,"supportsClipboardContext":false,"supportsLoadedSourcesRequest":false}
2023-06-14 16:59:02,487 [io-compute-blocker-11] INFO o.a.d.d.d.DAPSession -
<E initialized
2023-06-14 16:59:02,489 [io-compute-4] INFO o.a.d.d.d.DAPSession - R> #2
launch {"type":"dfdl","request":"launch","name":"pcap on icmp1.cap classpath
with ethernetIP
directory","program":"/Users/sdell/apache/sampleWorkspace/dfdl-pcap/src/main/resources/com/tresys/pcap/xsd/pcap.dfdl.xsd","stopOnEntry":true,"data":"/Users/sdell/apache/sampleWorkspace/dfdl-pcap/src/test/resources/com/tresys/pcap/data/icmp1.bad.cap","infosetOutput":{"type":"file","path":"/tmp/pcap-icmp1.infoset.xml"},"debugServer":4711,"openHexView":false,"openInfosetView":false,"openInfosetDiffView":false,"useExistingServer":false,"daffodilDebugClasspath":"/Users/sdell/apache/sampleWorkspace/dfdl-ethernet/src/main/resources:/Users/sdell/apache/sampleWorkspace/dfdl-ethernet/target/classes","__configurationTarget":6,"__sessionId":"93f0320e-82f5-419c-902b-e16a25054602"}
2023-06-14 16:59:02,490 [io-compute-2] INFO o.a.d.d.d.DAPSession - R> #3
setBreakpoints
{"source":{"name":"pcap.dfdl.xsd","path":"/Users/sdell/apache/sampleWorkspace/dfdl-pcap/src/main/resources/com/tresys/pcap/xsd/pcap.dfdl.xsd"},"lines":[87,97],"breakpoints":[{"line":87},{"line":97}],"sourceModified":false}
ERROR StatusLogger Log4j2 could not find a logging implementation. Please
add log4j-core to the classpath. Using SimpleLogger to log to the console...
2023-06-14 16:59:04,332 [io-compute-10] DEBUG o.a.d.d.d.DAPodil - awaiting
first stack frame
2023-06-14 16:59:04,392 [io-compute-0] DEBUG o.a.d.d.d.P.DaffodilDebugger -
pre-control await
2023-06-14 16:59:04,395 [io-compute-0] DEBUG o.a.d.d.d.P.DaffodilDebugger -
post-control await
2023-06-14 16:59:04,395 [io-compute-0] DEBUG o.a.d.d.d.P.DaffodilDebugger -
pre-checkBreakpoints
2023-06-14 16:59:04,395 [io-compute-10] DEBUG o.a.d.d.d.P.DaffodilDebugger -
pre-control await
2023-06-14 16:59:04,410 [io-compute-10] DEBUG o.a.d.d.d.DAPodil - awaiting
first stack frame: got it
2023-06-14 16:59:04,415 [io-compute-12] DEBUG o.a.d.d.d.DAPodil - started
Launched
2023-06-14 16:59:04,415 [io-compute-12] INFO o.a.d.d.d.DAPSession - <E
thread started
2023-06-14 16:59:04,418 [io-compute-blocker-12] INFO o.a.d.d.d.DAPSession -
<R #2 launch success null
2023-06-14 16:59:04,420 [io-compute-4] DEBUG o.a.d.d.d.DAPodil -
sourceEventsDelivery: Succeeded
2023-06-14 16:59:04,421 [io-compute-8] INFO o.a.d.d.d.DAPSession - <E
stopped entry
2023-06-14 16:59:04,422 [io-compute-15] INFO o.a.d.d.d.DAPSession - <E
daffodil.config
2023-06-14 16:59:04,424 [io-compute-7] INFO o.a.d.d.d.DAPSession - <E
daffodil.data
2023-06-14 16:59:04,424 [io-compute-blocker-12] INFO o.a.d.d.d.DAPSession -
<R #3 setBreakpoints success
{"breakpoints":[{"id":0,"verified":true,"line":87,"message":""},{"id":1,"verified":true,"line":97,"message":""}]}
2023-06-14 16:59:04,434 [io-compute-13] INFO o.a.d.d.d.DAPSession - R> #4
threads null
2023-06-14 16:59:04,435 [io-compute-8] INFO o.a.d.d.d.DAPSession - <R #4
threads success {"threads":[{"id":1,"name":"daffodil"}]}
2023-06-14 16:59:04,439 [io-compute-2] INFO o.a.d.d.d.DAPSession - R> #5
configurationDone null
2023-06-14 16:59:04,439 [io-compute-2] INFO o.a.d.d.d.DAPSession - <R #5
configurationDone success null
2023-06-14 16:59:04,440 [io-compute-0] INFO o.a.d.d.d.DAPSession - R> #6
stackTrace {"threadId":1,"startFrame":0,"levels":20}
2023-06-14 16:59:04,442 [io-compute-blocker-2] INFO o.a.d.d.d.DAPSession -
<R #6 stackTrace success
{"stackFrames":[{"id":1,"source":{"name":"pcap.dfdl.xsd","path":"/Users/sdell/apache/sampleWorkspace/dfdl-pcap/src/main/resources/com/tresys/pcap/xsd/pcap.dfdl.xsd","sourceReference":0},"line":36,"column":0,"name":"PCAP"}],"totalFrames":1}
2023-06-14 16:59:04,446 [io-compute-3] INFO o.a.d.d.d.DAPSession - R> #7
threads null
2023-06-14 16:59:04,447 [io-compute-4] INFO o.a.d.d.d.DAPSession - <R #7
threads success {"threads":[{"id":1,"name":"daffodil"}]}
2023-06-14 16:59:04,521 [io-compute-0] INFO o.a.d.d.d.DAPSession - R> #8
threads null
2023-06-14 16:59:04,521 [io-compute-3] INFO o.a.d.d.d.DAPSession - <R #8
threads success {"threads":[{"id":1,"name":"daffodil"}]}
2023-06-14 16:59:04,855 [io-compute-3] INFO o.a.d.d.d.DAPSession - R> #9
scopes {"frameId":1}
2023-06-14 16:59:04,861 [io-compute-13] INFO o.a.d.d.d.DAPSession - <R #9
scopes success
{"scopes":[{"name":"Parse","variablesReference":1,"expensive":false},{"name":"Schema","variablesReference":2,"expensive":false},{"name":"Data","variablesReference":3,"expensive":false}]}
2023-06-14 16:59:04,863 [io-compute-1] INFO o.a.d.d.d.DAPSession - R> #10
variables {"variablesReference":1}
2023-06-14 16:59:04,867 [io-compute-14] INFO o.a.d.d.d.DAPSession - <R #10
variables success
{"variables":[{"name":"Delimiters","value":"","variablesReference":9,"namedVariables":0,"indexedVariables":0},{"name":"Diagnostics","value":"","variablesReference":10,"namedVariables":0,"indexedVariables":0},{"name":"Points
of
uncertainty","value":"","variablesReference":8,"namedVariables":0,"indexedVariables":0},{"name":"childIndex","value":"1","variablesReference":0,"namedVariables":0,"indexedVariables":0},{"name":"groupIndex","value":"1","variablesReference":0,"namedVariables":0,"indexedVariables":0},{"name":"hidden","value":"false","type":"bool","variablesReference":0,"namedVariables":0,"indexedVariables":0},{"name":"occursIndex","value":"1","variablesReference":0,"namedVariables":0,"indexedVariables":0}]}
2023-06-14 16:59:08,540 [io-compute-7] INFO o.a.d.d.d.DAPSession - R> #11
continue {"threadId":1}
2023-06-14 16:59:08,542 [io-compute-1] INFO o.a.d.d.d.DAPSession - <R #11
continue success null
2023-06-14 16:59:08,543 [io-compute-3] DEBUG o.a.d.d.d.P.DaffodilDebugger -
post-control await
2023-06-14 16:59:08,543 [io-compute-3] DEBUG o.a.d.d.d.P.DaffodilDebugger -
pre-checkBreakpoints
2023-06-14 16:59:08,544 [io-compute-1] INFO o.a.d.d.d.DAPSession - <E
daffodil.data
2023-06-14 16:59:08,545 [io-compute-1] DEBUG o.a.d.d.d.P.DaffodilDebugger -
pre-control await
2023-06-14 16:59:08,545 [io-compute-0] INFO o.a.d.d.d.DAPSession - <E
daffodil.infoset
2023-06-14 16:59:08,545 [io-compute-1] DEBUG o.a.d.d.d.P.DaffodilDebugger -
post-control await
2023-06-14 16:59:08,545 [io-compute-1] DEBUG o.a.d.d.d.P.DaffodilDebugger -
pre-checkBreakpoints
2023-06-14 16:59:08,546 [io-compute-3] DEBUG o.a.d.d.d.P.DaffodilDebugger -
pre-control await
2023-06-14 16:59:08,546 [io-compute-3] DEBUG o.a.d.d.d.P.DaffodilDebugger -
post-control await
2023-06-14 16:59:08,546 [io-compute-3] DEBUG o.a.d.d.d.P.DaffodilDebugger -
pre-checkBreakpoints
2023-06-14 16:59:08,548 [io-compute-3] INFO o.a.d.d.d.DAPSession - <E
stopped breakpoint
2023-06-14 16:59:08,554 [io-compute-10] INFO o.a.d.d.d.DAPSession - R> #12
threads null
2023-06-14 16:59:08,554 [io-compute-5] INFO o.a.d.d.d.DAPSession - <R #12
threads success {"threads":[{"id":1,"name":"daffodil"}]}
2023-06-14 16:59:08,558 [io-compute-2] INFO o.a.d.d.d.DAPSession - R> #13
stackTrace {"threadId":1,"startFrame":0,"levels":20}
2023-06-14 16:59:08,559 [io-compute-3] INFO o.a.d.d.d.DAPSession - <R #13
stackTrace success
{"stackFrames":[{"id":4,"source":{"name":"pcap.dfdl.xsd","path":"/Users/sdell/apache/sampleWorkspace/dfdl-pcap/src/main/resources/com/tresys/pcap/xsd/pcap.dfdl.xsd","sourceReference":0},"line":87,"column":0,"name":"MagicNumber"},{"id":3,"source":{"name":"pcap.dfdl.xsd","path":"/Users/sdell/apache/sampleWorkspace/dfdl-pcap/src/main/resources/com/tresys/pcap/xsd/pcap.dfdl.xsd","sourceReference":0},"line":76,"column":0,"name":"PCAPHeader"},{"id":2,"source":{"name":"pcap.dfdl.xsd","path":"/Users/sdell/apache/sampleWorkspace/dfdl-pcap/src/main/resources/com/tresys/pcap/xsd/pcap.dfdl.xsd","sourceReference":0},"line":36,"column":0,"name":"PCAP"},{"id":1,"source":{"name":"pcap.dfdl.xsd","path":"/Users/sdell/apache/sampleWorkspace/dfdl-pcap/src/main/resources/com/tresys/pcap/xsd/pcap.dfdl.xsd","sourceReference":0},"line":36,"column":0,"name":"PCAP"}],"totalFrames":4}
2023-06-14 16:59:08,965 [io-compute-7] INFO o.a.d.d.d.DAPSession - R> #14
scopes {"frameId":4}
2023-06-14 16:59:08,967 [io-compute-8] INFO o.a.d.d.d.DAPSession - <R #14
scopes success
{"scopes":[{"name":"Parse","variablesReference":37,"expensive":false},{"name":"Schema","variablesReference":38,"expensive":false},{"name":"Data","variablesReference":39,"expensive":false}]}
2023-06-14 16:59:08,972 [io-compute-2] INFO o.a.d.d.d.DAPSession - R> #15
variables {"variablesReference":37}
2023-06-14 16:59:08,973 [io-compute-7] INFO o.a.d.d.d.DAPSession - <R #15
variables success
{"variables":[{"name":"Delimiters","value":"","variablesReference":45,"namedVariables":0,"indexedVariables":0},{"name":"Diagnostics","value":"","variablesReference":46,"namedVariables":0,"indexedVariables":0},{"name":"Points
of
uncertainty","value":"","variablesReference":44,"namedVariables":0,"indexedVariables":0},{"name":"childIndex","value":"1","variablesReference":0,"namedVariables":0,"indexedVariables":0},{"name":"groupIndex","value":"1","variablesReference":0,"namedVariables":0,"indexedVariables":0},{"name":"hidden","value":"false","type":"bool","variablesReference":0,"namedVariables":0,"indexedVariables":0},{"name":"occursIndex","value":"1","variablesReference":0,"namedVariables":0,"indexedVariables":0}]}
2023-06-14 16:59:09,787 [io-compute-1] INFO o.a.d.d.d.DAPSession - R> #16
continue {"threadId":1}
2023-06-14 16:59:09,789 [io-compute-0] INFO o.a.d.d.d.DAPSession - <R #16
continue success null
2023-06-14 16:59:09,794 [io-compute-5] DEBUG o.a.d.d.d.P.DaffodilDebugger -
infoset queue completed
2023-06-14 16:59:09,794 [io-compute-6] DEBUG o.a.d.d.d.Parse -
infosetChanges (orig): Succeeded
2023-06-14 16:59:09,794 [io-compute-2] DEBUG o.a.d.d.d.DAPodil -
deliverStoppedEvents: Succeeded
2023-06-14 16:59:09,795 [io-compute-3] DEBUG o.a.d.d.d.Parse -
deliverParseData: Succeeded
2023-06-14 16:59:09,795 [io-compute-3] DEBUG o.a.d.d.d.DAPodil - dapEvents:
Succeeded
2023-06-14 16:59:09,803 [io-compute-0] INFO o.a.d.d.d.DAPSession - <E
thread exited
java.lang.Error: Parse Error: Assertion failed: Magic number was not
0xA1B2C3D4 (for bigEndian) or 0xD4C3B2A1 (for littleEndian).
Schema context: MagicNumber Location line 87 column 14 in
file:/Users/sdell/apache/sampleWorkspace/dfdl-pcap/src/main/resources/com/tresys/pcap/xsd/pcap.dfdl.xsd
Data location was preceding byte 4
at
org.apache.daffodil.debugger.dap.Parse$$anon$1.$anonfun$run$2(Parse.scala:111)
at as @
com.monovore.decline.effect.CommandIOApp$.addVersionFlag(CommandIOApp.scala:67)
2023-06-14 16:59:09,803 [io-compute-blocker-14] INFO o.a.d.d.d.DAPSession -
<E terminated
2023-06-14 16:59:09,804 [io-compute-blocker-1] DEBUG o.a.d.d.d.Parse -
parsing: Errored(java.lang.Error: Parse Error: Assertion failed: Magic number
was not 0xA1B2C3D4 (for bigEndian) or 0xD4C3B2A1 (for littleEndian).
Schema context: MagicNumber Location line 87 column 14 in
file:/Users/sdell/apache/sampleWorkspace/dfdl-pcap/src/main/resources/com/tresys/pcap/xsd/pcap.dfdl.xsd
Data location was preceding byte 4)
java.lang.Error: Parse Error: Assertion failed: Magic number was not
0xA1B2C3D4 (for bigEndian) or 0xD4C3B2A1 (for littleEndian).
Schema context: MagicNumber Location line 87 column 14 in
file:/Users/sdell/apache/sampleWorkspace/dfdl-pcap/src/main/resources/com/tresys/pcap/xsd/pcap.dfdl.xsd
Data location was preceding byte 4
at
org.apache.daffodil.debugger.dap.Parse$$anon$1.$anonfun$run$2(Parse.scala:111)
at as @
com.monovore.decline.effect.CommandIOApp$.addVersionFlag(CommandIOApp.scala:67)
2023-06-14 16:59:09,812 [io-compute-10] INFO o.a.d.d.d.DAPSession - R> #17
disconnect {"restart":false}
2023-06-14 16:59:09,813 [io-compute-3] INFO o.a.d.d.d.DAPSession - <R #17
disconnect success null
2023-06-14 16:59:09,813 [io-compute-blocker-12] DEBUG o.a.d.d.d.DAPodil -
launched: Succeeded
2023-06-14 16:59:09,813 [io-compute-blocker-12] DEBUG o.a.d.d.d.Parse -
signalling a stop
2023-06-14 16:59:09,814 [io-compute-blocker-12] DEBUG o.a.d.d.d.Parse -
parse done, no interruption
2023-06-14 16:59:09,818 [io-compute-6] DEBUG o.a.d.d.d.DAPodil - debugee:
Succeeded
2023-06-14 16:59:09,820 [io-compute-6] ERROR o.a.d.d.d.DAPodil - unhandled
error
java.lang.Error: Parse Error: Assertion failed: Magic number was not
0xA1B2C3D4 (for bigEndian) or 0xD4C3B2A1 (for littleEndian).
Schema context: MagicNumber Location line 87 column 14 in
file:/Users/sdell/apache/sampleWorkspace/dfdl-pcap/src/main/resources/com/tresys/pcap/xsd/pcap.dfdl.xsd
Data location was preceding byte 4
at
org.apache.daffodil.debugger.dap.Parse$$anon$1.$anonfun$run$2(Parse.scala:111)
at as @
com.monovore.decline.effect.CommandIOApp$.addVersionFlag(CommandIOApp.scala:67)
java.lang.Error: Parse Error: Assertion failed: Magic number was not
0xA1B2C3D4 (for bigEndian) or 0xD4C3B2A1 (for littleEndian).
Schema context: MagicNumber Location line 87 column 14 in
file:/Users/sdell/apache/sampleWorkspace/dfdl-pcap/src/main/resources/com/tresys/pcap/xsd/pcap.dfdl.xsd
Data location was preceding byte 4
at
org.apache.daffodil.debugger.dap.Parse$$anon$1.$anonfun$run$2(Parse.scala:111)
at as @
com.monovore.decline.effect.CommandIOApp$.addVersionFlag(CommandIOApp.scala:67)
2023-06-14 16:59:09,820 [io-compute-10] DEBUG o.a.d.d.d.DAPodil - whenDone:
completed
2023-06-14 16:59:09,820 [io-compute-10] DEBUG o.a.d.d.d.DAPodil - hotswap:
Succeeded
2023-06-14 16:59:09,820 [io-compute-10] INFO o.a.d.d.d.DAPodil -
disconnected at tcp://0.0.0.0:4711
```
--
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]