Debugging Linux binaries on FreeBSD Posted on August 22, 2006 by Shanker Balan Use “ktrace -i ” and “linux_kdump -f ktrace.out” to trace a Linux binary running under FreeBSD's excellent Linux compat support. Helped me find a missing dependency on Java and fix the segfaults. Share this: