db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bryan Pendleton <bpendleton.de...@gmail.com>
Subject Re: Debug Derby inside IDE
Date Sun, 01 Jan 2012 16:35:22 GMT
> Is there any way to start/debug the database system inside the ide?

Absolutely! Derby developers do this routinely.

Derby is 100% pure Java, and so any Java debugger can be used to run Derby.

When I do this, I build Derby using Ant, with debugging enabled in the compilation,
and then I start Derby with my debugger.

Tell your debugger to use the main class org.apache.derby.tools.ij, then
you can issue ij commands and set breakpoints in the Derby engine using
your debugger.

thanks,

bryan

Mime
View raw message