This documentation is archived and is not being maintained.

How Can I Find Out If My Pointers Corrupt a Memory Address?

This topic applies to:

Edition

Visual Basic

C#

C++

Web Developer

Express

Topic does not applyTopic does not apply

Native only

Topic does not apply

Standard

Topic does not applyTopic does not apply

Native only

Topic does not apply

Pro and Team

Topic does not applyTopic does not apply

Native only

Topic does not apply

Table legend:

Topic applies

Applies

Topic does not apply

Does not apply

Topic applies but command hidden by default

Command or commands hidden by default.

I think that one of my pointers may be corrupting memory at address 0x00408000. How can I find out what is happening there?

Check for heap corruption

To find where the memory address is modified

  1. Set a data breakpoint at 0x00408000. For more information, see How to: Set a Data Breakpoint (Native Only).

  2. When you hit the breakpoint, use the Memory window to view memory contents starting at 0x00408000. For more information, see Memory Windows.

Show: