Debugging STL Containers with WinDbg Part 4: Pair

For previous posts of this series, check out the following links: Debugging STL Containers with WinDbg: Prolog Debugging STL Containers with WinDbg: Prolog 2 Debugging STL Containers with WinDbg Part 1: Vector Debugging STL Containers with WinDbg Part 2: List Debugging STL Containers with WinDbg Part 3: Map I should’ve blogged this post before part…

0

Debugging STL Containers with WinDbg: Prolog 2

In the original prolog of the Debugging STL Containers with WinDbg series, I started off with a simple main.cpp source, compiled it with the Visual Studio compiler, and debugged the executable with WinDbg. A few folks mentioned that there ought to be some info that covers the steps from having an executable to seeing the…

0

Debugging STL Containers with WinDbg Part 3: Map

For previous posts of this series, check out the following links: Debugging STL Containers with WinDbg: Prolog Debugging STL Containers with WinDbg Part 1: Vector Debugging STL Containers with WinDbg Part 2: List Let’s now look at maps. Like lists, a map container manages a varying-length sequence of elements but as a (nearly) balanced ordered…

0

Debugging STL Containers with WinDbg Part 2: List

For previous posts of this series, check out the following links: Debugging STL Containers with WinDbg: Prolog Debugging STL Containers with WinDbg Part 1: Vector Let’s now look at lists. A list container manages a varying-length sequence of elements as a bidirectional linked list of nodes, each storing one element. The source in Visual Studio…

0

Debugging STL Containers with WinDbg Part 1: Vector

In the prolog of this series, I dabbled a bit on some of the reasons why you’d want to walk the containers in WinDbg yourself instead of using extensions like !stl. Just to put a stick on the ground for this series, I’m using Visual Studio Ultimate 2012 Version 11.0.50727.1 RTMREL on Windows 8 Version…

0

Debugging STL Containers with WinDbg: Prolog

For those who use Standard Template Library in applications and depend on WinDbg to troubleshoot, debugging STL containers has always been a little back-bending. There are various STL extensions available, but they sometimes just don’t play nice (fail, or generate an exception). Take the following example: C:\Projects\STL>type main.cpp#include <iostream>#include <string>#include <vector>using namespace std;int main() {…

0