I have a class like this
public class TestTraceMethods
public static void main(String args)
TestTraceMethods test = new TestTraceMethods();
// (new Throwable()).printStackTrace( System.out );
public void testMe()
here JVM is ignoring this--> Runtime.getRuntime().traceMethodCalls(true);
then i refered API
there i found that
Enables/Disables tracing of method calls. If the boolean argument is true, this method suggests that the Java virtual machine emit debugging information for each method in the virtual machine as it is called. The format of this information, and the file or other output stream to which it is emitted, depends on the host environment. The virtual machine may ignore this request if it does not support this feature.
then how can i set host environment to get log file or format of this information.