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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file tinycalltrace-1.0.2.tar.gz.
File metadata
- Download URL: tinycalltrace-1.0.2.tar.gz
- Upload date:
- Size: 3.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fa2e48c7f82a07fcd237948cb97f3dd523a8893a1b68415db35dd82861adacb1
|
|
| MD5 |
26e47b923e88ba83beb4f8e7d98ab59c
|
|
| BLAKE2b-256 |
a84d80bb4a8a79f5303b32323ce424e6cd5475c218416fdb9796a2881a29a517
|
File details
Details for the file tinycalltrace-1.0.2-py3-none-any.whl.
File metadata
- Download URL: tinycalltrace-1.0.2-py3-none-any.whl
- Upload date:
- Size: 5.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a0a62898c40a62bf7591f48bfe2135a492ec981d6b0801ce92a8b43c70cbf143
|
|
| MD5 |
462b62956efa6457ee02a993fdc6e588
|
|
| BLAKE2b-256 |
12fafb9b604a1e36a999e9bd46fea16692ae61eef1ba9ca83cedd2033eedde57
|