On Tue, Nov 23, 1999 at 11:22:36AM -0500, Jacob Nikom wrote:
> Hi,
>
> In one of his messages Nathan Meyers mentioned JAVA_DEBUG environment
> variable which should be set up for debugging. I looked at debugging
> documentation but could not find any mention about JAVA_DEBUG variable.
The only "documentation" I know of is in the Java launch script itself.
If you look there, with both JDK1.1 and JDK1.2, you'll see that the Java
executable is invoked like this:
exec $DEBUG_PROG "$prog" "$@"
What this means is that if DEBUG_PROG is defined, that program is run
and the name of the Java executable ($prog) is passed as the first
argument. So if you run:
DEBUG_PROG=gdb java -green
it'll run the green-threads java executable under the gdb debugger.
The IBM JDK1.1.8 launch script contains the same thing, so I suspect
this is a general Unix-ism that came from Sun.
Nathan Meyers
[EMAIL PROTECTED]
On Tue, Nov 23, 1999 at 11:22:36AM -0500, Jacob Nikom wrote:
> Hi,
>
> In one of his messages Nathan Meyers mentioned JAVA_DEBUG environment
> variable which should be set up for debugging. I looked at debugging
> documentation but could not find any mention about JAVA_DEBUG variable.
> What kind of value JAVA_DEBUG variable should have? Do I really need it
> for java debugging? Is it Blackdown JDK specific variable?
>
> Thank you,
>
> Jacob Nikom
>
>
> ----------------------------------------------------------------------
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]