Skip to main content

Simple call tree graph generator suitable for viewing with vim fold

Project description

Overview

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

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

Instalation

pip install tinycalltracer

Usage

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

from tinycalltrace import TinyCallTrace

if __name__ == '__main__':
         TinyCallTrace()

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.

Enjoy!

Project details


Download files

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

Source Distribution

tinycalltrace-1.0.2.tar.gz (3.5 kB view details)

Uploaded Source

Built Distribution

tinycalltrace-1.0.2-py3-none-any.whl (5.5 kB view details)

Uploaded Python 3

File details

Details for the file tinycalltrace-1.0.2.tar.gz.

File metadata

File hashes

Hashes for tinycalltrace-1.0.2.tar.gz
Algorithm Hash digest
SHA256 fa2e48c7f82a07fcd237948cb97f3dd523a8893a1b68415db35dd82861adacb1
MD5 26e47b923e88ba83beb4f8e7d98ab59c
BLAKE2b-256 a84d80bb4a8a79f5303b32323ce424e6cd5475c218416fdb9796a2881a29a517

See more details on using hashes here.

File details

Details for the file tinycalltrace-1.0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for tinycalltrace-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 a0a62898c40a62bf7591f48bfe2135a492ec981d6b0801ce92a8b43c70cbf143
MD5 462b62956efa6457ee02a993fdc6e588
BLAKE2b-256 12fafb9b604a1e36a999e9bd46fea16692ae61eef1ba9ca83cedd2033eedde57

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page