Size: 515
Comment: initial draft
|
Size: 671
Comment: add link text
|
Deletions are marked like this. | Additions are marked like this. |
Line 9: | Line 9: |
|| Python || [[https://docs.python.org/3/library/trace.html|Python trace module]] || `python -m trace --count somefile.py ...` || ---- CategoryDebugging |
There are various ways to trace execution of programs written in various languages:
Program type |
Tool |
Command-line |
ELF (syscalls) |
strace program args |
|
ELF (functions) |
ltrace program args |
|
Shell |
all shells |
sh -x /usr/bin/program args |
Perl |
perl -d:Trace /usr/bin/program args |
|
Ruby |
rbtrace --exec /usr/bin/program args |
|
Python |
python -m trace --count somefile.py ... |