The README just needs to be updated. Java 8 is required. Good to know about debugging with IntelliJ. I believe most daffodil devs either use sbt with something like vim and printf style debugging, or eclipse. I'll have to take a look at IntelliJ.
- Steve On 1/14/19 6:30 AM, Christofer Dutz wrote: > Hi all, > > As I am expecting to be participating here in the near future I started > tracking down some problems I was having with debugging the CLI … Here’s a > summary of things I noticed: > > General Observations: > The Readme claims to require Java 7 or above … I think it requires 8 … even > if the build does sort of run with Java 7, as soon as I execute anything I am > getting “Unsupported major.minor version 52.0” errors. > I guess some library might be referenced that requires Java 8. > > Debugging in IntelliJ: > Even if I am able to run things in IntelliJ, when it comes to debugging it’s > almost not usable as I can’t inspect any variables. > All I can see is the names and a “Collecting data …” behind them. > > So I consulted a Scala expert here at my company and he suggested to manually > install sbt (Not use the bundled sbt-launcher contained in the IntelliJ SBT > plugin) and start it on a console with: > > sbt -jvm-debug 5005 -mem 8123 > > The I connected to that via normal IntelliJ Java remote debugging connection. > > After that as long as I don’t expand the “this” variable if it says anything > with “ROOT” in it, I am able to debug things. > > Chris > >
