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

Document how to create human-readable reports from leaks.xml #12

Closed
mitchcurtis opened this issue Apr 23, 2018 · 6 comments
Closed

Document how to create human-readable reports from leaks.xml #12

mitchcurtis opened this issue Apr 23, 2018 · 6 comments
Labels

Comments

@mitchcurtis
Copy link
Contributor

It's not possible to Select All + Copy heob's output in Qt Creator, and leaks.xml is very hard to read. There should be a (documented) way of creating human-readable reports from leaks.xml.

@ssbssa
Copy link
Owner

ssbssa commented Apr 23, 2018

Try to add -oleaks.html into the Extra Arguments field, and see if the generated leaks.html meets your needs.

@mitchcurtis
Copy link
Contributor Author

Ah, cool. The colours are a bit much though - is there a way to configure that?

@ssbssa
Copy link
Owner

ssbssa commented Apr 23, 2018

No, they can't be configured.
If you don't need colors just use -oleaks.txt (or basically anothing other than .html).

@ssbssa
Copy link
Owner

ssbssa commented Apr 23, 2018

Oh, and in this output file you can show the leak contents as well with -L1024.
And if you have multiple leaks, and you want to see how their stacktraces might be related, try -g2.

@mitchcurtis
Copy link
Contributor Author

OK, thanks. :) Will try those out.

@ssbssa
Copy link
Owner

ssbssa commented Jun 29, 2021

FYI, the HTML colors can now be configured with an external CSS file, thanks to #22.

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

No branches or pull requests

2 participants