Can you post the schema and example input file?

On 1/14/19 8:19 AM, Christofer Dutz wrote:
> Being an Apache Committer you can even get a free license of IntelliJ 
> Utlimate from Jetbrains for working on Open-Source projects.
> 
> Even when using the commit before the line-number regression, it still didn't 
> show me any line numbers ... so I went back to the 2.2.0-rc2 tag and that got 
> things working.
> 
> Now I've got my schema sort of correct and try to read some binary data. 
> Unfortunately the CLI seems to think it has 0 bytes to read. I debugged into 
> the InputSource creation and the FileInputStream tells me it's got 12 bytes, 
> but Daffodil fails reading the first byte complaining it's got 0 bits to 
> read. Anything I should know?
> 
> Chris
> 
> 
> 
> Am 14.01.19, 13:24 schrieb "Steve Lawrence" <[email protected]>:
> 
>     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
>     > 
>     > 
>     
>     
> 

Reply via email to