You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-dev@db.apache.org by Fred&Dani&Pandora <fr...@nti.ufop.br> on 2011/12/31 23:12:57 UTC
Debug Derby inside IDE
Hi.
Is there any way to start/debug the database system inside the ide? I want
study the code, and this would be helpfull to depurate the code. I already
did this with H2 Engine.
Thanks.
Att,
Fred
Re: Debug Derby inside IDE
Posted by Knut Anders Hatlen <kn...@oracle.com>.
"Fred&Dani&Pandora" <fr...@nti.ufop.br> writes:
> Hi again.
>
> How I build Derby with debugging enabled in the compilation (I'm
> using netbeans)?
If you open the NetBeans project under the tools/ide/netbeans directory
in the Derby source tree, you can build debug-enabled jar files by
hitting F11 (or right click the project and click "Build").
--
Knut Anders
Re: Debug Derby inside IDE
Posted by Fred&Dani&Pandora <fr...@nti.ufop.br>.
Hi again.
How I build Derby with debugging enabled in the compilation (I'm using
netbeans)?
Att,
Fred
2012/1/1 Bryan Pendleton <bp...@gmail.com>
> 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
>
Re: Debug Derby inside IDE
Posted by Frederico <ze...@gmail.com>.
Thanks.
Att,
Fred
Enviado via iPad
Em 01/01/2012, às 14:35, Bryan Pendleton <bp...@gmail.com> escreveu:
>> 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
Re: Debug Derby inside IDE
Posted by Bryan Pendleton <bp...@gmail.com>.
> 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