[kaffe] More Debugging woes

Fabio Fracassi fracassi@cs.uni-bonn.de
Tue, 22 Oct 2002 10:34:34 +0200


Hi,

I still have a Problem with Debugging the Initialisation Code. I've alrea=
dy=20
asked once for general advice, and your answers helped me a little furthe=
r=20
(thank you). Still I am unable to track my error(s), so I'd like to ask a=
 bit=20
more specifically, and hope someone has an advice for me.

The problem is this:

At one place (/java/util/HashMap.find()) there is the following code:

=09Object key
=09....
=09if ... key.equals(e.key)
=09....

Somewhere in or during calling an NullPointerException gets thrown, but t=
he=20
stacktrace only shows the frames up to HashMap.
Now my Problem is I can't find out which equals() method gets called. It=20
should be java/lang/Object.equals(), but that doesen't get called.
Now my Question is this, How can I find out where !exactly! the exception=
 is=20
thrown? How could I step throu the Java code, to find out which equals()=20
method does get called?

Thanks in Advance

Fabio