This is the mail archive of the
insight@sources.redhat.com
mailing list for the Insight project.
Re: how to dbg a java pgm ?
- To: Tom Tromey <tromey at redhat dot com>
- Subject: Re: how to dbg a java pgm ?
- From: bciceron at rsn dot hp dot com
- Date: Wed, 20 Jun 2001 13:48:42 -0500 (CDT)
- Cc: <insight at sources dot redhat dot com>
hi tom,
so once i use gcj to compile we have access to the full gdb features as
any other language ?
thx,
On 20 Jun 2001, Tom Tromey wrote:
-- >>>>> "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
--