Differences between revisions 3 and 4
Revision 3 as of 2018-08-26 08:50:13
Size: 649
Editor: lamby
Comment:
Revision 4 as of 2018-08-26 10:09:41
Size: 671
Editor: PaulWise
Comment: add link text
Deletions are marked like this. Additions are marked like this.
Line 9: Line 9:
|| Python || https://docs.python.org/3.0/library/trace.html || `python -m trace --count somefile.py ...` || || Python || [[https://docs.python.org/3/library/trace.html|Python trace module]] || `python -m trace --count somefile.py ...` ||

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

Python

Python trace module

python -m trace --count somefile.py ...


CategoryDebugging