Successfully reported this slideshow.
Your SlideShare is downloading. ×

Debugging .NET apps

Ad
Ad
Ad
Ad
Ad
Ad
Ad
Ad
Ad
Ad
Ad
Upcoming SlideShare
C# to python
C# to python
Loading in …3
×

Check these out next

1 of 34 Ad

Debugging .NET apps

Download to read offline

Debugging memory leaks, hangs, performance issues and crashses in .net applications on Windows or Linux with Windbg, dotnet dump and other tools

Debugging memory leaks, hangs, performance issues and crashses in .net applications on Windows or Linux with Windbg, dotnet dump and other tools

Advertisement
Advertisement

More Related Content

Slideshows for you (20)

Advertisement

Recently uploaded (20)

Debugging .NET apps

  1. 1. TESS FERRANDEZ
  2. 2. @TESSFERRANDEZ DEVELOPER EX ASP.NET SUPPORT
  3. 3. HIGH MEMORY USAGE BAD PERFORMANCE CRASHES & EXCEPTIONS @TESSFERRANDEZ
  4. 4. CAN’T F5 DEBUG LINUX OR MAC INTERMITTENT ONLY ON AZURE @TESSFERRANDEZ
  5. 5. SOME .NET INTENALS @TESSFERRANDEZ
  6. 6. HIGH MEMORY USAGE
  7. 7. WHAT’S USING UP THE MEMORY? WHY ISN’T IT GOING AWAY? @TESSFERRANDEZ
  8. 8. HIGH MEMORY USAGE + LINUX @TESSFERRANDEZ
  9. 9. DOTNET COUNTERS DOTNET GCDUMP DOTNET DUMP @TESSFERRANDEZ
  10. 10. WWW.TESSFERRANDEZ.COM
  11. 11. GC MEMORY LAYOUT @TESSFERRANDEZ
  12. 12. GITHUB.COM/ MAONI0/MEM-DOC
  13. 13. ROOTS THREADS STATIC OBJECTS CACHE PINNED OBJECTS FINALIZER QUEUE @TESSFERRANDEZ
  14. 14. HIGH MEMORY USAGE - PART II @TESSFERRANDEZ
  15. 15. public class Link { public StringBuilder url = new StringBuilder(); public string text; public Link(string text, string url) { this.text = text; this.url.Append(url); } ~Link(){} }
  16. 16. WHAT’S USING UP THE MEMORY? WHY ISN’T IT GOING AWAY? @TESSFERRANDEZ
  17. 17. WINDBG DOTNET SYMBOLS DOTNET SOS @TESSFERRANDEZ
  18. 18. GENERATIONS 0 1 2 @TESSFERRANDEZ
  19. 19. LARGE OBJECT HEAP
  20. 20. BAD PERFORMANCE
  21. 21. WHAT ARE WE DOING? WHY IS IT TAKING SO LONG? @TESSFERRANDEZ
  22. 22. HIGH CPU + AZURE TESSFERRANDEZ
  23. 23. str += "world"; str += "!"; string str = "hello";
  24. 24. DEBUG DIAG AZURE DIAGNOSTICS @TESSFERRANDEZ
  25. 25. LOW CPU + DEBUG WITH VS @TESSFERRANDEZ
  26. 26. VISUAL STUDIO PROCDUMP @TESSFERRANDEZ
  27. 27. CRASHES AND EXCEPTIONS
  28. 28. WHAT JUST HAPPENED? @TESSFERRANDEZ
  29. 29. CRASH + WER TESSFERRANDEZ
  30. 30. WWW.TESSFERRANDEZ.COM

Editor's Notes

  • Photo by cottonbro from Pexels
  • Tool icon by Ade Nur Hidayat from the Noun Project
  • Tool icon by Ade Nur Hidayat from the Noun Project
  • Tool icon by Ade Nur Hidayat from the Noun Project
  • Tool icon by Ade Nur Hidayat from the Noun Project

×