‹ jan0sch.de

Quick application crash debugging on FreeBSD or 'strace is a Linux tool'

2013-03-01

When using Linux it is often helpful to use the following command if an application crashes:

% strace application

You’ll get a list of system calls and some helpful information that’ll help you often to pin down the reason for the crash.

If you’re using FreeBSD you should use the truss command:

% truss application

It provides the same information as strace.