Differences between revisions 1 and 2
Revision 1 as of 2018-08-26 08:22:07
Size: 515
Editor: PaulWise
Comment: initial draft
Revision 2 as of 2018-08-26 08:22:37
Size: 540
Editor: PaulWise
Comment: debugging category
Deletions are marked like this. Additions are marked like this.
Line 9: Line 9:
----
CategoryDebugging

There are various ways to trace execution of programs written in various languages:

Program type

Tool

Command-line

ELF (syscalls)

strace

strace program args

ELF (functions)

ltrace

ltrace program args

Shell

all shells

sh -x /usr/bin/program args

Perl

libdevel-trace-perl

perl -d:Trace /usr/bin/program args

Ruby

ruby-rbtrace

rbtrace --exec /usr/bin/program args


CategoryDebugging