Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added trace_module to debugutils #78

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

kurtbrose
Copy link
Contributor

might be handy to have this in a CLI type interface like stdlib in trace as well

python -m tracemod json socket main.py

kurtbrose and others added 2 commits May 25, 2016 10:52
just got this working for myself
Conflicts:
	boltons/debugutils.py
@kurtbrose
Copy link
Contributor Author

Here's some example output:

../keymakeragent\key_client.py _get_app_data 393
../keymakeragent\key_client.py has_app_data 416
../keymakeragent\key_client.py has_app_data 418
../keymakeragent\key_client.py has_app_data 419
../keymakeragent\key_client.py _get_app_data 407
../keymakeragent\key_client.py has_app_data 416
../keymakeragent\key_client.py has_app_data 418
../keymakeragent\key_client.py has_app_data 419
../keymakeragent\key_client.py _get_app_data 412
../keymakeragent\key_client.py _get_by_name_and_version 303
../keymakeragent\key_client.py _get_by_name_and_version 304

It prints out a lot of redundant data, but it is fairly readable because the columns line up -- you can scan past the module and function name.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant