Hi,

Usually, when I have to debug, I use my Eclipse H2 project. In this case
Eclipse compiles the code, so that it does include enough debug info. But I
understand that this doesn't work in all cases.

What about using a system property to enable debug info? So building the
debug jar files, you would have to use:

    ./build.sh -Ddebug jar

Regards,
Thomas

On Monday, October 22, 2012, Rami Ojares wrote:

> Hi,
>
> Currently, it seems to me, the only way to generate full debugging
> information into H2
> is to change line 175 in org.h2.build.Build.java
> One needs to add -g argument to compiler.
> args = args.plus("-Xlint:unchecked", "-g", "-d", "temp", "-sourcepath",
> "src/main", "-classpath", classpath);
>
> Is there another way?
> If not could we add some way to generate a fully debuggable jar to build
> targets?
>
> --
> You received this message because you are subscribed to the Google Groups
> "H2 Database" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at http://groups.google.com/**
> group/h2-database?hl=en <http://groups.google.com/group/h2-database?hl=en>
> .
>
>

-- 
You received this message because you are subscribed to the Google Groups "H2 
Database" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/h2-database?hl=en.

Reply via email to