>>>>> Brandon Anderson writes:

    Brandon> I've been trying to get the Runtime.traceMethodCalls()
    Brandon> and the Runtime.traceInstructions working in Java under
    Brandon> linux for quiet some time, and can't seem to figure out
    Brandon> what I'm doing wrong.

    Brandon> I'm starting to wonder if they are implemented at all in
    Brandon> the Linux version, or if I have to do some special
    Brandon> compile time switches...

    Brandon> I'm actually calling the functions doing a
    Brandon> Runtime.getRuntime().traceMethodCalls() and
    Brandon> Runtime.getRuntime().traceInstructions() but I've tried
    Brandon> with just straight Runtime.trace* and that doesn't seem
    Brandon> to work either.

    Brandon> Is it outputting it to a specific file somewhere that I'm
    Brandon> just not finding, or is this really not implemented on
    Brandon> the Linux version.  The Java specs do say this is an
    Brandon> optional thing for the JVM to do, but it would be an
    Brandon> immensely useful debugging tool.

Tracing only works with the debug version of java.  Use 'java_g'
instead of 'java'.


        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]

Reply via email to