stevedlawrence commented on code in PR #875:
URL: https://github.com/apache/daffodil/pull/875#discussion_r1025236246


##########
daffodil-cli/src/main/scala/org/apache/daffodil/Main.scala:
##########
@@ -929,7 +930,7 @@ object Main {
 
             processor = processor.withValidationMode(validate)
 
-            setupDebugOrTrace(processor.asInstanceOf[DataProcessor], conf)
+            val debugProcessor = 
setupDebugOrTrace(processor.asInstanceOf[DataProcessor], conf)

Review Comment:
   Yeah, might need to. It would probably be okay to add the `withDebugger` 
definitions to the `DataProcessorBase` trait in DFDLParserUnparser.scala if it 
makes things cleaner. Might avoid some `asInstanceOf`'s 



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