mauve debugging
Tom Tromey
tromey@redhat.com
Wed Jan 7 19:16:00 GMT 2004
>>>>> "Andreas" == Andreas Tobler <toa@pop.agri.ch> writes:
Andreas> Note, I did not manage to set a breakpoint in the mauve test
Andreas> itself. Maybe one of the experts has an idea :)
When I want to do this, I generally build mauve by hand, outside of
the libgcj test suite. I configure with `--with-gcj'. Then I just
run gdb on the SimpleTestHarness executable. Since all the classes
are linked in, setting a breakpoint is no trouble, even with a gdb
that doesn't have the "pending breakpoint" changes.
Then I put the name of the class I want to debug into a file and
inside gdb start the program with "r < Z" (Z being the file name).
Tom
More information about the Java
mailing list