arosien commented on code in PR #1014:
URL: https://github.com/apache/daffodil-vscode/pull/1014#discussion_r1581274934
##########
debugger/src/main/scala/org.apache.daffodil.debugger.dap/Parse.scala:
##########
@@ -1117,11 +1152,13 @@ object Parse {
pstate.mpstate.delimiters.toList.zipWithIndex.map { case (delimiter,
i) =>
Delimiter(if (i < pstate.mpstate.delimitersLocalIndexStack.top)
"remote" else "local", delimiter)
},
- pstate.diagnostics
+ pstate.diagnostics,
+ infoset
)
}
case class EndElement(state: StateForDebugger) extends Event
case object Fini extends Event
+ case class Control(state: DAPodil.Debugee.State) extends Event
Review Comment:
Rather than having two queues, one for data (state) changes, and another for
events (control), we have a single event type so we can emit & commit state
changes before event notifications are delivered.
--
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]