Post Index
Labs
- .NET Debugging Demos Lab 7: Memory Leak - Walkthrough
- .NET Debugging Demos Lab 7: Memory Leak
- .NET Debugging Demos Lab 6: Memory Leak - Walkthrough
- .NET Debugging Demos Lab 6: Memory Leak
- .NET Debugging Demos Lab 6: Debugging Challenge
- .NET Debugging Demos Lab 5: Crash - Walkthrough
- .NET Debugging Demos Lab 5: Crash
- .NET Debugging Demos Lab 4: High CPU hang - Walkthrough
- .NET Debugging Demos Lab 4: High CPU hang
- .NET Debugging Demos Lab 3: Memory - Walkthrough
- .NET Debugging Demos Lab 3: Memory
- .NET Debugging Demos Lab 2: Crash - Walkthrough
- .NET Debugging Demos Lab 2: Crash
- .NET Debugging Demos Lab 1: Hang - Walkthrough
- .NET Debugging Demos Lab 1: Hang
- .NET Debugging Labs - Information and setup instructions
General Debugging Tips and Tricks
- Debug Diag 1.2 (Beta)
- Capturing memory dumps for 32-bit processes on an x64 machine
- Help! !clrstack is not showing any method names
- IIS and PAE
- New debugger extension for .NET (PSSCOR2)
- Tool for generating DGML graphs showing why your object can’t be collected (VisualGCRoot)
- New commands in SOS for .NET 4.0 Part 1
- WOHOO!!!, Debug Diag 64bit is finally released
- First step in troubleshooting complex issues: Define and scope your issue properly
- First look at debugging .NET 4.0 dumps in Visual Studio 2010
- Neat .NET 2.0 StackViewer to troubleshoot hangs/performance issues
- Show me the memory: Tool for visualizing virtual memory usage and GC heap usage.
- Developers are from Mars, Ops people are from Venus… or It looked good on paper
- Making it easier to debug .net dumps in windbg using .cmdtree
- Q&A Reader emails about .NET memory leaks and random questions
- Creating a UI Module For IIS7 to watch Current Requests
- Debugging Silverlight applications with windbg and sos.dll
- Quick Debugging Tip: Disable apppool recycling while getting crash dumps
- DebugDiag 1.1 or Windbg, which one should I use? and how do I gather memory dumps
- Failed to start stack walk: 80004005, Following frames may be wrong and other errors you may see in windbg
- ntdll!kifastSystemcallret, SharedUserData!SystemCallStub and search engines…
- Why are some commands missing in sos for 2.0 compared to sos for 1.1?
- Setting breakpoints in .net code using !bpmd
- Pimp up your debugger: Creating a custom workspace for windbg debugging
- Learning .NET debugging
- Using WinDbg - Advanced commands
- Using Reflector to search through code and resolve .NET issues
- Automated .NET Hang Analysis
- Getting started with windbg - part II
- Getting Started with Windbg
- Debugging Script: Dumping out ASP.NET Session Contents
- Debugging Script: Dumping out current and recent ASP.NET Requests
- WinDBG Scripts
- Short note on some debugging related stuff…
- ASP.NET Memory - If your application is in production… then why is debug=true
- ASP.NET Strong named assemblies should not be stored in the bin directory
- Debugging Tips: Use windbg as a calculator, a chat client and more…
- Back to Basics - How do I get the memory dumps in the first place? And what is SOS.dll?
- Why do I get weird function names on my stack? (a discussion on symbols)
- Associate windbg with .dmp files
- !dumpheap -stat explained
Hangs and Performance Issues
- Reader email: Need help troubleshooting perf/memory issues
- Debugging a classic ReaderWriterLock deadlock with SOSex.dll
- .NET Hang Case study: The danger of locking on strings
- .NET Hang: Analyzing Debug Diag output
- .NET Hang: My application hangs after I called my WCF service a couple of times
- Using VSTS Test and Profilers to troubleshoot a High CPU in GC issue
- Using VSTS Test and Profilers to troubleshoot performance issues (low cpu hang)
- Troubleshooting a performance issue with Failed Request Tracing and appcmd in IIS7
- High CPU in .NET app using a static Generic.Dictionary
- ASP.NET Case Study: Hang when loading assemblies
- 100% CPU in vbc.exe when compiling large vb.net web applications in Microsoft Visual Studio 2008
- ASP.NET Case Study: Deadlock waiting in GetToSTA
- ASP.NET Performance issue: Large number of application restarts due to virus scanning
- ASP.NET Hang: Authenticode signed assemblies
- .NET Performance Issues: What if I suspect that my performance problem is in SQL Server Part II
- .NET Performance Issue: What if I suspect that my performance problem is in SQL server?
- ASP.NET Case Study: Hang on WaitOne, WaitAny or WaitMultiple
- Hang caused by GC - XML Deadlock
- ASP.NET hang/slowness on startup
- Case Study ASP.NET Deadlock calling WebServices
- Why is my app performing worse on .NET 2.0 than on 1.1 (or why aren’t the oranges at work as tasty as the apples at home?)
- .NET Hang case study - High CPU because of poorly formatted regular expressions (Identifying tight loops)
- ASP.NET Hang scenario: Kernel Debugging for Dummies
- ASP.NET Hang Case Study: Application hangs on startup
- Things to ignore when debugging an ASP.NET Hang - Update for .NET 2.0
- High CPU in GC and other badness caused by SetProcessAffinityMask
- .NET Hang Case Study: The GC-Loader Lock Deadlock (a story of mixed mode dlls)
- ASP.NET Case Study: Bad perf, high memory usage and high CPU in GC - Death By ViewState
- .NET Hang Debugging Walkthrough
- ASP.NET: Check your Web Site today for these common assembly related memory and perf issues
- ASP.NET Performance Case Study: Web Service calls taking forever
- A Hang Scenario, Locks and Critical Sections
- Things to ignore when debugging an ASP.NET hang
Memory Issues
- Debugging .NET Core memory issues (on Linux) with dotnet dump
- Debugging Native memory leaks with Debug Diag 1.1
- Debug Diag: mscorwks.dll is responsible for 372.46 MBytes worth of outstanding allocations
- Background Garbage Collection in CLR 4.0
- Debug Diag script for troubleshooting .NET 2.0 Memory leaks
- .NET Memory Leak reader email: Are you really “leaking” .net memory
- .NET Memory Leak: To dispose or not to dispose, that’s the 1 GB question
- ASP.NET Memory Issues - High Memory Usage with AjaxPro (fixed in current version)
- ASP.NET Memory - Identifying pages with high Viewstate
- .NET Memory Leak: XslCompiledTransform and leaked dynamic assemblies
- OutOfMemoryExceptions while remoting very large datasets
- ASP.NET Memory Leak: Byte arrays rooted in System.Security.Policy.Evidence
- CLR Inside Out: Large Object Heap Uncovered
- ASP.NET Memory: Thou shalt not store UI objects in cache or session scope
- Does interrupting GC.WaitForPendingFinalizers interrupt finalization?
- How does the GC work and what are the sizes of the different generations?
- ASP.NET Case Study: Hang with mixed-mode dlls
- Generational GC (Garbage Collector) - A post-it analogy
- Reader Email: Private Bytes remain higher than expected
- High memory usage with usercontrols in IE (using Debug Diag)
- ASP.NET Hang and OutOfMemory exceptions caused by STA components
- .NET Finalizer Memory Leak: Debugging with sos.dll in Visual Studio
- ASP.NET Memory Investigation
- ASP.NET Memory Issue: High memory usage in a 64bit w3wp.exe process
- ASP.NET Case Study: Tracing your way to Out Of Memory Exceptions
- .NET Memory usage - A restaurant analogy
- ASP.NET Case Study: High CPU in GC - Large objects and high allocation rates
- ASP.NET Memory - You use the same dll in multiple applications, is it really necessary to load it multiple times?
- .Net memory leak: Unblock my finalizer
- .NET Memory Leak: XmlSerializing your way to a Memory Leak
- .NET Memory: My object is not rooted, why wasn’t it garbage collected?
- ASP.NET Memory Leak Case Study: Sessions Sessions Sessions
- ASP.NET Memory - How much are you caching? + an example of .foreach
- .NET Memory Leak Case Study: The Event Handlers That Made The Memory balloon
- I have a memory leak, what do I do?
- Who is this OutOfMemory guy and why does he make my process crash when I have plenty of memory left
Crashes and Exceptions
- Fix for RestartWWWService=false in Visual Studio 2010
- Getting full user mode dumps automatically when your process crashes
- System.Configuration.ConfigurationErrorsException “Unrecognized element ‘setting’” and other unrecognized elements
- Forms authentication fails after installing IIS 7.5
- Why do I see ExecutionEngineException, StackOverflowException and OutOfMemoryException on the heap when debugging .net applications?
- A case of lost session variables when using out of process session state
- Unable to load DLL ‘dllname.dll’: A dynamic link library (DLL) initialization routine failed. 0x8007045A
- .NET Exceptions: Quick WinDbg/SOS tip on how to dump all the .NET exceptions on the heap
- Validation of viewstate MAC failed after installing .NET 3.5 SP1
- Debugging a .NET crash with rules in Debug Diag
- Questions on application domains, application pools and unhandled exceptions
- Troubleshooting app domain restarts and other issues with ETW tracing
- Setting .NET breakpoints in Windbg for applications that crash on startup
- ASP.NET Crash: StackOverflowException with Server.Transfer
- Questions about .net Exceptions
- .NET Case Study: Stackoverflow Exception when using a complex rowfilter
- .NET Debugging Demos Lab 5: Debugging Challenge! (time to test your knowledge)
- ASP.NET Crash: System.Security.Cryptography.CryptographicException
- ASP.NET 2.0 OutputCaching - Download dialog box after browsing with SmartPhone
- A Case of Invalid ViewState
- ASP.NET Crash: Bad CacheItemRemovedCallback - Part II
- ASP.NET 2.0 - Investigating .NET Exceptions with WinDbg (Compilation and Load Exceptions)
- ASP.NET Crash - Crazy looping in a SiteMap
- ASP.NET Case Study: Lost session variables and app domain recycles
- .Net exceptions - Tracking down where in the code the exceptions occurred
- ASP.NET 2.0 Crash case study: Unhandled exceptions
- .NET Crash: Managed Heap Corruption calling unmanaged code
- A .NET Crash: How not to write a global exception handler
- Are you aware that you have thrown over 40,000 exceptions in the last 3 hours?
- What on earth caused my process to crash?
Quizzes
- Debugging Puzzler - WinForms crash - Can you figure out what caused it?
- .NET Garbage Collection PopQuiz - Answers
- .NET Garbage Collection PopQuiz
- ASP.NET Quiz Answers: Does Page.Cache leak memory?
- ASP.NET Quiz - Does Page.Cache leak memory?
Links and Misc
- Reviving the blog and updating the Buggy Bits Debugging Labs
- Entering geek territory or exiting geek territory? That’s the question…
- New Visual Studio 2010 and .NET 4 debugging content
- Videos of developer sessions at Oredev (including mine on .net debugging)
- It’s time for TechDays Sweden again
- Advanced .NET Debugging book
- More debugging videos and a Resource List from my TechED and Oredev sessions on debugging asp.net applications
- Recap of Oredev and some .net debugging videos
- Busy November, presenting at TechED Europe and Oredev
- How can I make you learn and benefit from my Blog? and how can I learn from you? I preserved some of the old comments in this post as a homage to my old reader community.
- Design tips for Developers
- Silverlight/WPF FlipImage Animation
- .NET Rocks: Debugging chat
- Silverlight 2.0 Walkthrough – Creating a “Traffic Jam” game (now in WPF)
- 10 years 10 lbs of M&Ms
- TechDays Sweden March 17th-18th 2009
- WCF 101 – Creating and consuming a basic WCF Service hosted in IIS
- Video of my TechEd presentation of Common Issues in ASP.NET and how to debug them with Windbg
- Planning a new .net debugging lab set – What do you want to see?
- Slides for interactive TechEd Sessions about debugging .net issues in windbg
- Slides and resources for TechED presentations about debugging .NET issues with Windbg
- Behind the scenes at TechEd EMEA - Things I learned about presenting at large conferences
- PDC announcements about Dump debugging for .NET 4.0
- Performance by Design – PDC 2008
- Need your input for TechEd EMEA sessions on troubleshooting .net applications
- .NET Debugging at TechED EMEA (10-14 November in Barcelona)
- Bag of Chips: Installing XNA Games on your Zune
- Presenting at TechEd Developers Europe 2008, Barcelona
- The 21 most popular blog posts
- Blog Interesting - 32 Ways to Keep Your Blog from Sucking
- My presentation on Troubleshooting ASP.NET production issues at Developer Summit 2008
- Developer Summit Sessions on Silverlight, MVC, FaceBook, and Work ethics amongst software developers
- Recap of yesterdays ASP.NET Debugging Blog Chat
- Live blog chat about asp.net and debugging with windbg and sos (10 am EST/4 pm CET)
- New version of SilverLatte and Espresso Blend available for download
- Silverlight 2 Beta 1 and Expression Blend
- I’m presenting at Developer Summit 2008 (in Sweden)
- When a mommy and a daddy love each other…
- My Team is Hiring
- I’m presenting at Oredev in Malmo, Sweden Nov 13th-15th
- Bag of Chips: What should I do with my butler?
- Swedish .NET Debugging PodCast
- Developer Summit 2007
- I’ve been Tagged
- My Blog posts in Chinese
- Upcoming Premier .NET debugging workshops in northern Europe
- It’s been a while
- .NET in SQL Server 2005 – Making .net code more reliable
- Contacting Tess
- A bag of chips – Math stuff… and books…
- Request for feedback
- Why I love the debugger