You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@daffodil.apache.org by GitBox <gi...@apache.org> on 2021/02/01 19:01:18 UTC

[GitHub] [incubator-daffodil] mbeckerle commented on pull request #484: updateEclipseClasspaths failing silently for eclipse IDE setup

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:
users@infra.apache.org