stevedlawrence commented on a change in pull request #12: Revised daffodil-io 
module to require passing in a FormatInfo object.
URL: https://github.com/apache/incubator-daffodil/pull/12#discussion_r158339559
 
 

 ##########
 File path: 
daffodil-cli/src/test/scala-cli/edu/illinois/ncsa/daffodil/debugger/TestCLIDebugger.scala
 ##########
 @@ -285,6 +285,18 @@ class TestCLIdebugger {
 
     try {
       val cmd = String.format("%s -d parse -s %s -r matrix %s", Util.binPath, 
testSchemaFile, testInputFile)
+
+      //
+      // If you want to run a test in the Eclipse debugger instead of by
+      // spawning a shell, here's the idiom.
+      //
+      // Note that this doesn't do the expect stuff. You have to type the
+      // commands at the console pane, and inspect the output to see if it is
+      // what you want.
+      //
+      // val args = cmd.split(' ').tail // cmdline minus the daffodil program 
name.
+      // Main.run(args) // Run Main directly, so we can debug.
+      //
 
 Review comment:
   This comments probably belongs somewhere else, maybe at the top of 
TestCLIDebugger or in a CLI readme or something?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to