Skip to main content

Simple call tree graph generator suitable for viewing with vim fold

Project description


Trace function call , and generate call tree graph which is sutable for using vim.

Using this module, understanding large python module is more easier.


pip install tinycalltracer


Simply add following code in the file defined ‘main’,

from tinycalltrace import TinyCallTrace

if __name__ == '__main__':

And run your scripts, call tree graphs generate in trace-0xXXXXXXX.txt file in your current directory. Thease files are call tree graph of each threads.

This call tree graphs are sutable for examination using vim fold mode. You can open thease file with vim, and simply type

:set foldmethod=marker

then you can see folded call tree graph. It is so helpful to understand call graph, easy to search specified function call/caller.

And also with vim ‘goto file command’ on a line of call tree graph, you can easily examin source code of call/caller.


Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for tinycalltrace, version 1.0.2
Filename, size File type Python version Upload date Hashes
Filename, size tinycalltrace-1.0.2-py3-none-any.whl (5.5 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size tinycalltrace-1.0.2.tar.gz (3.5 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page