Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4083698
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T18:20:46+00:00 2026-05-20T18:20:46+00:00

I have a crash dump. This crash dump contains a doubly-linked list with 15000

  • 0

I have a crash dump. This crash dump contains a doubly-linked list with 15000 nodes whose head pointer is null, but still has a valid tail. In order to figure out whether the head pointer was wiped out by a logic error or heap corruption, I need to walk backwards from the tail, up to the first valid node.

If I can reach the first valid node, i.e. the node that should follow the head, and it’s not pointing to null, I can reasonably assume heap corruption. If this node is pointing to null, the problem is most likely a logic error.

Is there any way that I can use Visual Studio’s debugger to print the contents of this linked list?

I thought that I might be able to use the immediate/command window to do this, but as far as I can tell, it only allows evaluation of single statements. I would need some sort of looping or recursion to step through the list.

Side note, this is not an std::list.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-20T18:20:46+00:00Added an answer on May 20, 2026 at 6:20 pm

    There is this article showing how to write custom visualizers for Visual Studio: http://www.virtualdub.org/blog/pivot/entry.php?id=120, including lists. There is a comment asking about visualizers for doubly-linked lists, and apparently this should work:

    typedef struct _Stream (
    struct _Stream *p_next,
    struct _Stream *p_prev,
    
    /* the rest of the structure */
    
    ) _Stream;
    

    This should be the visualizer:

    _Stream{
    children(
     raw: [$e,!],
     #list(
      head: $e.p_next,
      next: p_next,
      skip: $e
    ))
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a Win32 core dump (full dump, with memory) of a process crash
I have a problem with a strange crash on iPad 5.0. This crash only
I have an application and I am analyzing memory crash dumps of this software.
I have a crash dump of an application that is supposedly leaking GDI. The
I have a crash dump file that I need to analyze using windbg to
I've been poring over this Erlang crash dump where the VM has run out
I have a crash dump of unmanaged C++ code. I opened it with Windbg,
I have the following callstak when my application crash (create via MSVC210 save dump
I have a crash dump from my app showing a bunch of threads waiting
I have a crash dump from a production server that shows an OutOfMemoryException. The

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.