Run-time tracing module for debugging. Can be turned on/off with command-line flags.
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.

Python Tracing Tool

This is a tool used to enable tracing dynamically and provide a call graph in real-time for a python model. I created it because debugging was way too painful for me.

Instructions are in the tools/ file.

Example is in (with instructions in the comment).

The output of the tracer includes:

  • functions called (relative path)
  • calling function
  • exceptions in red

It does not include system calls.

I tested this on a Mac. If it doesn't work on WIndows or Linux, please post a fix :-)

I hope you find this as useful as I did!