rustwasm / book

The Rust and WebAssembly Book
https://rustwasm.github.io/docs/book/
MIT License
1.73k stars 208 forks source link

Add section about debugging memory leaks #166

Open fitzgen opened 5 years ago

fitzgen commented 5 years ago

Recently we gained two new helpful tools for debugging memory leaks:

We should add a reference guide for boosting their visibility and explaining how to use them a little bit. Maybe even have an example code that intentionally leaks, use the tools to diagnose the leak, and then show the fix.