On Mon, 11 Jun 2007 22:12:27 +0200, Paulo Jesus
<[EMAIL PROTECTED]> wrote:
I´m now just starting to develop on derby.
My work will almost be entirely develop new features on derby engine.
I´ll be working with derby ver 10.2.2.0. This is because compatibilities
whit previous work on this project.
I don´t have help on derby develop here so i have lot of source to read.
I already found the hard work to do simple things.
I´m here looking on how can i make debug on the execution. Or there is a
way of making a step by step execution of the server?
Hi! I'm also new to Derby but have used the debugging features in Eclipse
with great success on the Derby code. I imported the Derby source code to
a project in Eclipse, and set up a Derby installation on a remote
computer. I could then run the ij-console or my test application with the
option "-Xdebug
-Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=n" on the
remote computer and debug it via breakpoints and "stepping" in Eclipse on
my desktop computer. To get Eclipse to start debugging a JVM on a remote
computer you can follow this tutorial (essentially page 6 and 7):
http://www.onjava.com/pub/a/onjava/2005/08/31/eclipse-jboss-remote-debug.html
To debug on your own computer is probably a bit easier, but I haven’t
tried that. I guess you can use NetBeans to do the same as well. NetBeans
also has a nifty Profiler you can use to track performance issues and
resource usage.
Good luck!
Knut Magne Solem