Posted almost 8 years ago. Visible to the public.

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

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.

Owner of this card:

Last edit:
almost 5 years ago
by jan0sch
Posted by jan0sch to jan0sch's deck
This website uses short-lived cookies to improve usability.
Accept or learn more