[freenet-tech] Technology / Features

Andrew Haley aph@cambridge.redhat.com
Wed Feb 27 14:36:00 GMT 2002


Andrew Haley writes:
 > Adam Megacz writes:
 >  > 
 >  > Jeff Sturm <jsturm@one-point.com> writes:
 >  > > On 25 Feb 2002, Adam Megacz wrote:
 >  > > > I personally don't use GCJ for debugging -- I get my code 100%
 >  > > > working/debugged/tested under HotSpot
 >  > 
 >  > > I find your comment a little surprising... while gdb's support for java
 >  > > has room for improvement, I've never seen a java debugger I liked.
 >  > 
 >  > I rarely use debuggers for Java code (when I do, I use jswat, which is
 >  > decent). println() and printStackTrace() are my favorite debugging
 >  > tools -- my main gripe is that gcj-win32 can't give stack traces, and
 >  > probably will never be able to.
 > 
 > No stack traces?  It shouldn't be hard.

Well, I mean it shoudn't be hard to print a list of addresses: put
that thru addr2line and you've got your stack trace.

Andrew.



More information about the Java mailing list