>>>>> Paul Beardsley writes:
Paul> Thanks, but how do I do that first step of
Paul> running a JVM under Java - is there a C
Paul> executable somewhere that runs a JVM,
Paul> so that I can gdb that executable?
$ DEBUG_PROG=gdb java_g
...
(gdb) run <classname>
Paul> Gregory Steuck writes:
>>
>> Yeah, run JVM under gdb and set a breakpoint inside of your native code.
>> You have to be familiar with gdb though.
>>
>> >>>>> "Paul" == Paul Beardsley <[EMAIL PROTECTED]> writes:
>>
Paul> Hi,
>>
Paul> I am new to Linux/Java/JNI. Is there such a thing as a
Paul> debugger for Java-C++ systems (communicating via the JNI)
Paul> which can cope with both sides of the interface? Or given a
Paul> Java UI (the main is in Java) which is invoking a C++ system,
Paul> which then does some callbacks to Java, is there a way to get
Paul> a debugger running on the C++ part?
Juergen
--
Juergen Kreileder, Blackdown Java-Linux Porting Team
http://www.blackdown.org/java-linux.html
----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]