-
Notifications
You must be signed in to change notification settings - Fork 23
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
Getting text output from tool #21
Comments
Ah! I just found that str() works -- I assumed the output was stdout when working interactively. Instead its python showing the repr of the return value. |
Yeah. It's actually a "MorePrinter" (doc, code, very weirdly written). If you are using the development version from git there's also a ".all" method that prints out all rows. You can also access individual rows with getitem, and look at its various fields programmatically:
The IdentitySet object doesn't directly support iteration, but its attribute
|
Anything else? Can I close this? |
Hi! Thanks for this tool. I'm trying to figure out why some Django Gunicorn processes are so large.
I'd like to either log the heap or even possibly make the heap into a view in Django so I can see the heap -- but I can't figure out how to get a textual representation of the output instead of the interactive one.
Is this possible?
The text was updated successfully, but these errors were encountered: