August 2019
Beginner to intermediate
798 pages
17h 2m
English
There are times when a UNIX program fails for some unknown reason or does not perform well and you want to find out why without having to rewrite your code and add a plethora of debugging statements.
This section will present two command-line utilities that allow you to see the C system calls executed by an executable file. The names of the two tools are strace(1) and dtrace(1) and they allow you to inspect the operation of a program.
Although both tools can work with the go run command, you will get less unrelated output if you first ...
Read now
Unlock full access