This content has been marked as final. Show 2 replies
Are we the only persons trying to use the profiler?
I have got the same problem (RedHat 7.1, SDK 1.3.0). The profiler
does not work, jdb keeps reporting NativeMethodExceptions.
Folks, how do you debug your programs?
On my linux box, the profiler and the debugger do not work with hotspot. I can only have them work with the following command line
java -classic -Djava.compiler=NONE -Xrun****
More over, if I profile, I need to add the -Xnoclassgc option, else I get many error messages while running.
There is an exception,; when I try to use hotspot's profiler: java -Xprof works well (though the output is not the same than -Xrunhprof).
To my mind it seems that there is a bug in Hotspot.
For debugging, I eventually convinced my self that jdb is unusable. (far less than gdb : no tabulation for completing variable/method/class names, etc.)
So I use a nice front end : the one integrated in netbeans (http://www.netbeans.org).