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!
Release files for tinycalltrace 1.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| tinycalltrace-1.0.2.tar.gz | 3.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| tinycalltrace-1.0.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 8.9 kB
Release files / tinycalltrace-1.0.2.tar.gz
| Download URL | tinycalltrace-1.0.2.tar.gz |
|---|---|
| Size | 3.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
fa2e48c7f82a07fcd237948cb97f3dd523a8893a1b68415db35dd82861adacb1
|
|
BLAKE2b-256 checksum How to use checksums |
a84d80bb4a8a79f5303b32323ce424e6cd5475c218416fdb9796a2881a29a517
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / tinycalltrace-1.0.2-py3-none-any.whl
| Download URL | tinycalltrace-1.0.2-py3-none-any.whl |
|---|---|
| Size | 5.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a0a62898c40a62bf7591f48bfe2135a492ec981d6b0801ce92a8b43c70cbf143
|
|
BLAKE2b-256 checksum How to use checksums |
12fafb9b604a1e36a999e9bd46fea16692ae61eef1ba9ca83cedd2033eedde57
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |