How to print out native stacktrace in Java? -


i print stacktrace of native methods calls of java application. thread.dumpstack() printing java methods calls.

if want non-java stack, need "native" debugger, e.g. gdb.

you can attach running java gdb, too.

for documentation on seamless debugging of java gdb, see also: http://gcc.gnu.org/java/gdb.html

(gcc can compile java code native code; @ point native debugger show java backtraces.)


Comments