This site uses cookies for analytics, personalized content and ads. By continuing to browse this site, you agree to this use. Learn more
Microsoft Logo
Gray Pipe
Developer Network Developer Network Developer
Sign in

Subscriber portal

Get tools
  • Downloads
    • Visual Studio
    • SDKs
    • Trial software
      • Free downloads
      • Office resources
      • SharePoint Server 2013 resources
      • SQL Server 2014 Express resources
      • Windows Server 2012 resources
  • Programs
    • Subscriptions
      • Overview
      • Administrators
    • Students
      • Microsoft Imagine
      • Microsoft Student Partners
    • ISV
    • Startups
    • Events
  • Community
    • Magazine
    • Forums
    • Blogs
    • Channel 9
  • Documentation
    • APIs and reference
    • Dev centers
    • Samples
    • Retired content
search clear
We’re sorry. The content you requested has been removed. You’ll be auto redirected in 1 second.
Debugging in Visual Studio Debugging Applications Debugging Native Code
Debugging Native Code Debugging Native Code FAQs
Debugging Native Code FAQs
Debugging Native Code FAQs
Visual C++ Project Types
How to: Debug Optimized Code
DebugBreak and __debugbreak
C/C++ Assertions
How to: Debug Inline Assembly Code
MFC Debugging Techniques
CRT Debugging Techniques
Debugging Native Code FAQs
How Can I Debug an Access Violation?
How Can I Debug Access Violations When Running My Program Outside the Debugger?
How Can I Find Out If My Pointers Corrupt a Memory Address?
How Can I Find Out Who Is Passing a Wrong Parameter Value?
When Calling a Function Hundreds of Times, How Do I know Which Call Failed?
Where Can I Look Up Win32 Error Codes?
How Can I Keep Focus When Stepping Through My Program?
How Can I Use Debugger Windows While Debugging a Foreground Program?
How Can I Debug Windows API Functions?
How to: Get Back to the Function that Called MFC If Halted
COM and ActiveX Debugging
How to: Debug Native DLLs
How to: Debug Injected Code
TOC
Collapse the table of content
Expand the table of content
This documentation is archived and is not being maintained.
This documentation is archived and is not being maintained.

Debugging Native Code FAQs

Visual Studio 2015
Other Versions
  • Visual Studio 2013
  • Visual Studio 2012
  • Visual Studio 2010
  • Visual Studio 2008
  • Visual Studio 2005
  • View all retired versions
 

The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.

The latest version of this topic can be found at Debugging Native Code FAQs.

The following topics contain answers to some frequently asked questions:

  • How Can I Debug Access Violations When Running My Program Standalone?

  • How Can I Debug an Access Violation?

  • How Can I Find Out If My Pointers are Corrupting a Memory Address?

  • How Can I Find Out Who Is Passing a Wrong Parameter Value?

  • When Calling a Function Hundreds of Times, Which Call Failed?

  • Where Can I Look Up Win32 Error Codes?

  • How Can I Keep Focus When Stepping Through My Program?

  • How Can I Use Debugger Windows While Debugging a Foreground Program?

  • If Halted in MFC, How Can I Get Back to the Function That Called MFC?

See Also

Debugger Security
Debugging Native Code

Show:
Print Export (0)
Print Share
IN THIS ARTICLE
    Is this page helpful?
    Additional feedback?
    1500 characters remaining
    Thank you! We appreciate your feedback.

    Dev centers

    • Windows
    • Office
    • Visual Studio
    • Microsoft Azure
    • More...

    Learning resources

    • Microsoft Virtual Academy
    • Channel 9
    • MSDN Magazine

    Community

    • Forums
    • Blogs
    • Codeplex

    Support

    • Self support

    Programs

    • BizSpark (for startups)
    • Microsoft Imagine (for students)
    United States (English)
    • Newsletter
    • Privacy & cookies
    • Terms of use
    • Trademarks
    logo © 2017 Microsoft
    © 2017 Microsoft