mbeckerle commented on pull request #484:
URL: 
https://github.com/apache/incubator-daffodil/pull/484#issuecomment-771082581


   I just spent 2 hours debugging by print statement and in fact I gave up and 
just debugged the problem by moving the code into daffodil-macro-lib as a 
top-level application, and then debugging it in Eclipse. 
   
   I think sbt plugin debugging has to be done the way embedded debugging 
usually works which is by attaching a debugger to another jvm started with 
debug flags/ports specified. Which is a pain in the neck.
   
   By keeping this thing as ordinary code, no-sbt-specific things in it, I can 
debug it as ordinary code. I don't need a debug system that can cope with 
debugging sbt plugins. 
   
   Having now got that debugged.... I've moved the code back to the project/ 
directory so it will run from sbt. 
   


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

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to