-
Notifications
You must be signed in to change notification settings - Fork 0
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
pdb #29
Comments
It would be cool if you could also do something like get dumped into a shell, something like: pout.d() and at the line that Inspired by: http://blogs.perl.org/users/toby_inkster/2014/08/datadumper-debugging.html |
also look at tracemalloc import tracemalloc
tracemalloc.start()
snapshot = tracemalloc.take_snapshot()
top_stats = snapshot.statistics('lineno')
print("[ Top 10 ]")
for stat in top_stats[:10]:
print(stat) |
https://docs.python.org/3/library/trace.html I was able to get it to run on a test like this:
|
Could this be useful for something? |
would this be something I should add to pout?
The text was updated successfully, but these errors were encountered: