Skip to content
A mini x86 linux debugger that can trace executed source lines
C++ CMake
Branch: trace-line
Clone or download
Pull request Compare This branch is 5 commits ahead of TartanLlama:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

A trace debugger

Trace debugger is built upon It traces the execution of program on the source level and logs each excuted line to a file.


A new debugger command is added:

trace <source file> <log file>

Each time a line in <source file> is executed, a line <source file>:<line number> is logged to <log file>.


This tool was created to debug a specific problem:

  • The code was complex and unfamiliar;
  • When a function was invoked twice with the same parameter, different results were produced.

The idea was to trace each invocation and see where the log started to bifurcate. With the help of this tool I was able to pinpoint the problem without examining the whole source.

You can’t perform that action at this time.