how to dbg a java pgm ?
Tom Tromey
tromey@redhat.com
Wed Jun 20 09:32:00 GMT 2001
>>>>> "ben" == bciceron <bciceron@rsn.hp.com> writes:
ben> i cannot figure out how to dbg java program :-(
ben> i force the language with :
ben> set language java
ben> but
ben> using the .class is not the right format obviously.
This is only useful if you are debugging a Java program compiled with
`gcj' to native code. You can't debug interpreted Java programs with
this. In fact you can't debug interpreted Java programs with gdb at
all. (You can debug the interpreter, but that is different.)
Once upon a time there was code around to let gdb use JVMDI to debug
interpreted Java programs. However, due to a logistical snafu, this
code isn't in the main line of gdb and I'm told it would be a lot of
work to reintegrate it.
Tom
More information about the Insight
mailing list