I'd talked recently about debugging so I thought I'd do one of those "refresher" posts and highlight a bunch of videos that I made a while back about debugging.
I think they're still relevant as they're on VS 2005. Note – I'm not John Robbins and nor am I Doug Stewart (if you're into debugging, subscribe to Doug as I don't think there's much in WinDbg and a whole mountain of other topics that he doesn't know about in stunning depth).
Anyway, here's the video roll-call.
Note – these videos used to be on MSDN but the MSDN links got broken. Consequently, I've put them on my own site for downloading ( I'd recommend downloading, not attempting to "stream" ).
Preparation – Building Your Code for Debugging
In this session we look at debugging debug and release builds and the role of PDB files in Visual Studio 2005
Preparation – Building Debug and Tracing into Your Code
Maximise your debugging by ensuring that your applications are built with the right debugging and tracing output from day 1.
Mechanics – Breakpoints and Tracepoints
In this session we take a look at setting breakpoints and tracepoints with Visual Studio 2005
Preparation – Locating and Managing Symbol Files
Debugging is a whole lot easier with symbol files (PDBs). This session looks at how Visual Studio 2005 works with symbol files and how you can set up your own symbol servers.
Mechanics – Controlling Debugger Display for Your Types
The Visual Studio debugger can be configured to display custom output for your own data types. This session looks at how you do that.
Mechanics – Working with Data Tips and Visualisers
Visual Studio 2005 has great new features for seeing your data in the debugger. This session looks at Data Tips and Visualisers in the debugger and how you can write your own visualiser.
Mechanics – Edit and Continue
It's back! Visual Studio 2005 reintroduces the idea of "edit and continue" allowing you to alter code whilst in the debugger – this session looks at what you can do with this feature.
Mechanics – Design Time Debugging
Visual Studio 2005 has new features for debugging without actually writing an application – watch this session to see the new object test bench and other design-time debugging features.
Mechanics – Additional Tools for Your Debugging Toolbox
There are a lot of external tools out there on the web which can be of major benefit when you're debugging your code. This session takes a look at a few of the most popular third party tools.
Mechanics – Working with the SOS Debugger Extension
The Visual Studio debugger can load extension DLLs to extend its capabilities. This session looks at the basics of loading the SOS.DLL for .NET code and introduces what we can do with it.
Scenarios – Debugging Exceptions
.NET error paths are built around exception handling and the debugger has great features for monitoring what's happening with your application's exceptions. This session takes a look.
Scenarios – Debugging Assembly Loading
Sometimes your code won't load an assembly. Sometimes someone else's code won't load your assembly. This session looks at ways to diagnose these common scenarios.
Scenarios – Debugging Memory Leaks
Memory Leaks? In .NET code? This session looks at how we'd diagnose the modern equivalent of a memory "leak" with Visual Studio 2005.