Hi,

Thanks for follow up. Following solved this issue

1.       Enabling remote debugging for derby network server .

2.       Setup remote debugging on the same port

3.       Disable ‘build automatically ‘ on project created in eclipse that 
reference derby source.

Appreciate your help/guidance on same.


Thanks,
Anjana.


From: Me [mailto:m.v.lunte...@gmail.com]
Sent: 03 December 2015 21:01
To: <derby-dev@db.apache.org> <derby-dev@db.apache.org>
Subject: Re: debugging derby code

I saw your question on the user list, but don't have a version of derby in an 
eclipse setup handy...

You don't say how familiar you are with eclipse, so some of this may be too 
simplistic for you...

So with that caviat here's my 2c: first point eclipse to the Derby souce. 
(There are links on how to do that somewhere).
Then make sure you don't build automatically, and build in 'sane' mode.

Then you should be able to set a breakpoint - if the breakpoint happens on a 
non-main thread you may need to attach the debugger to that thread - either way 
you should be able to see that one of the threads is stopped, the debugger has 
a screen/view for that...

If you're looking for line numbers in a stack trace, you'll need to be running 
with the debug (or 'sane') builds.

Hth,
Myrna

On Dec 1, 2015, at 9:52 AM, Anjana Prakash 
<anjana.prak...@indecomm.net<mailto:anjana.prak...@indecomm.net>> wrote:

Hi

Can I start derby code in debug mode from eclipse. I want the break point to 
appear when my java code that calls derby import table  API.

Appreciate if anyone can guide on same.

Thanks.
Anjana.

Reply via email to