The Wayback Machine - https://web.archive.org/web/20071011111308/http://www.codeguru.com:80/cpp/v-s/debug/

CodeGuru
Earthweb Search
Forums Wireless Jars Gamelan Developer.com
CodeGuru Navigation
Member Sign In
User ID:
Password:
Remember Me:
Forgot Password?
Not a member?
Click here for more information and to register.

jobs.internet.com

internet.commerce
Partners & Affiliates
Televisions
Hurricane Shutters
Holiday Gift Ideas
Managed Hosting
Promotional Items
Web Hosting
Auto Insurance Quote
Cheap Plasma TVs
Laptop Computers
Home Mortgage Loans
GPS
KVM over IP
Health Insurance
Shop


RSS Feeds

RSSAll

RSSVC++/C++

RSS.NET/C#

RSSVB

See more EarthWeb Network feeds

Home >> Visual C++ / C++ >> Visual Studio >> Debugging

  Navigating Your IT Career
A career in information technology usually has its share of ups and downs. Download this Internet.com eBook to learn where the jobs are in IT, how to negotiate a salary, and helpful advice on job security and how to deal with a layoff. »
 
  Inside Spyware: A Guide to Finding, Removing, and Preventing Online Pests
Your organization's computers are possibly being used to send spam, harvest e-mail addresses, make purchases on stolen credit cards or take part in denial of service attacks. Learn how to indentify, avoid, and remove malware from computers and keep your network and machines safe. »
 
  Tips for Selecting Software Vendors
IT managers need a proven, steadfast process for sifting through the hundreds of choices available for each enterprise software market segment. There are a series of steps for ensuring a result that will survive the intense, long-term scrutiny this level of investment will certainly attract. »
 
  Storage Basics: A Guide to the World of Storage Technology
Regardless of industry, size, or age, businesses are awash in more data than ever before. Federal regulations require that data be stored, protected, and retrievable for a certain amount of time. Storage is also a growing area in IT, which means employment opportunities exist now, and should exist for some time. »
 
  Building Your Own IP PBX
If you're already into having control of your computing infrastructure, taking charge of your telephone network is a natural progression. Asterisk is an open source PBX that runs on Linux. It can free your organization from expensive commercial PBXs, and gives you complete control over your telephone services »
 
Whitepaper: The Top Five Most Common Hidden Infrastructure Costs. Learn about the steps you can take to reduce imaging and printing costs from your imaging and printing environment.

Debugging

Debuggers



Catch C/C++ Errors Early with VSTS Code Verifier
Rating: none
Nick Wienholt - 09/06/2006
The application verification features in VSTS Developer Edition help identify errors that are detectable only when an application is running.

VSStub
Rating: none
Per Nilsson - 05/03/2004
Provides a basic implementation of the Developer Studio Object Model.

A Debugging Stub for Automated Tests (DebugStub
Rating:
Ivan Vecerina - 05/22/2002
A simple program that acts as a debugger while running another user-specified application.

How I Use BoundsChecker
Rating:
John Robbins - 04/13/2001
The most frequently asked question of John Robbins is how he personally uses BoundsChecker, the award-winning bug-finding product that he helped to make famous while at NuMega. In this article, John shows us his favorite tricks and techniques.

Getting Started with SoftICE
Rating:
John Robbins - 04/13/2001
While at NuMega, John Robbins helped to make SoftICE the preminent debugger for the Windows environment. Now, read what he has to say regarding this SoftICE in terms of its capabilities and even some tips and techniques on getting the most out of it.


Debugging



Code That Debugs Itself
Rating: none
Andrew Schetinin - 04/25/2003
A set of simple, flexible, and powerful debug macros that allow you to catch most of the programming errors in early stages of development. These macros stimulate writing the "code that debugs itself."

Extended Debugging Utility Set
Rating:
Andrey Marochko - 04/16/2003
Fill the yawning gap in the functionality provided by the standard VC libraries in regard to debugging. This article introduces easy-to-use debugging extensions -- most are available without any supplementary actions because they are configured with defaults that support most scenarios.

Kill Your Program Before the User Does It!
Rating: none
Alex Rest - 04/11/2003
Make your program reliable by using this technique. It is a trap technique that uses the assertion macros. Common C++ technique and some VC++/MFC features are described.

Display a Complex Data Structure in the VC6 Debugger
Rating: none
Zhijian Luo - 02/12/2003
Display complex data structures, such as a link or recordset, in the VC6 Debugger. Learn the details in this article.

Debugging Tips
Rating: none
Shiv Pal Singh - 01/21/2003
Using good debugging practices and techniques are central to success of a project. This article lays down good debugging practices and presents tips for debugging C and C++ projects.

Some general debugging tips
Rating:
Tom Moor - 10/01/2002
Some general debugging tips

Extending Visual Studio 6.0 Debugger
Rating: none
Darko Vukoje - 02/25/2002
An undocumented feature to show interpreted variable values in a debugger tooltip or watch window.

Performance Meter and Memory Leaks Detector
Rating:
Iarantsev Andrei - 12/05/2001
This article describes how to monitor program heap for memory leaks even if you load DLL's or use a CRT-functions for memory allocating.

An STL Error Message Decryptor for visual C++
Rating: none
Leor Zolman - 09/10/2001
This package provides a set of tools to shorten the length of VC++ STL-related error messages so that the most vital information from a message fits within the visible portion of the status bar line at the bottom of the Visual Studio IDE.

MFC TRACE Macro for Console Applications
Rating: none
Thomas Rizos - 02/21/2001
Illustrates the changes needed to make the standard MFC Trace macros work in Console applications

Visual C++ Custom Debug Monitor
Rating: none
Daniel Chirca - 05/04/2000
Nifty little utility that allows you to route debug messages to a separate window for viewing while testing your application

LibDump Tool
Rating: none
George Poulose - 01/30/2000
Very nice Utility for examining the contents of library (.LIB) files

QProfile toolkit - a class to profile your code
Rating: none
Dan Kozub - 02/21/1999
QProfile toolkit - a class to profile your code

Tune the debugger using AutoExp.dat
Rating: none
Ramon de Klein - 02/21/1999
Tune the debugger using AutoExp.dat

Write debug output to console window
Rating: none
Wang Weijun - 02/11/1999
Write debug output to console window

LogTrace - A DLL to log trace output to a file
Rating: none
Phil McGahan - 02/11/1999
LogTrace - A DLL to log trace output to a file

Why doesn't my project work in release mode?
Rating: none
Keith Rule - 01/18/1999
Debugging tips for the release mode

WRAPTRACE() - Long String Debugging Macro
Rating: none
Steve Nelson - 12/21/1998
WRAPTRACE() - Long String Debugging Macro

Translate Window Style to strings
Rating: none
Mihai Filimon - 09/29/1998
Translate Window Style to strings

Convert message ID to a string
Rating: none
Craig Lucas - 08/26/1998
Convert message ID to a string

Debugging the release version of a program
Rating:
Tom Moor - 08/06/1998
Debugging the release version of a program

Debugging an ISAPI extension
Rating: none
Zafir Anjum - 08/06/1998
Debugging an ISAPI extension

Debug Output
Rating:
Eric Jisover - 08/06/1998
Debug Output

Message Tracer
Rating: none
Sigi Jeske - 08/06/1998
Message Tracer

Finding memory leaks
Rating:
Ilan Kleinberger - 08/06/1998
Finding memory leaks

Program Terminator
Rating: none
Sigi Jeske - 08/06/1998
Program Terminator

Check for loaded DLLs
Rating: none
Shyam Sundaram - 08/06/1998
Check for loaded DLLs


Handling Crashes



Visual C++: Protecting Against Buffer Overruns with the /GS Switch
Rating:
Nick Wienholt - 10/06/2004
Visual C++.NET supports the automatic detection of stack-based buffer overruns through the use of the /GS compiler switch. Learn why stack-based buffer overruns are so serious, and how /GS and other Visual C++ settings can combat them.

Add Crash Reporting to Your Applications
Rating:
Michael Carruth - 03/21/2003
How to generate a crash report for your application that can be debugged by using WinDbg or VS.NET. (The article and source code were updated.)


Logging



LogDispatch—Debug Module
Rating: none
Gediminas Siutilas - 05/24/2004
Learn how to output your debugging data to the application that is separated from the Visual Studio IDE and the project you are currently working on.

Generating Debug Bitmaps for DirectX
Rating: none
Mike Harnad - 03/02/2004
Debugging a DirectX application is not the easiest thing to do.

A Logger Makes Your Life Easier
Rating: none
Gavriloaie Andrei - 12/02/2003
Every programmer needs a way to know what is happening with his application. What would you give to know what is wrong? Use a logger!


Memory Issues



Detecting Resource Leaks
Rating:
Shiv Pal Singh - 03/12/2003
Memory and handles are precious Windows resources. This article explains how to detect memory and handle leaks in an application by using perfmon.


Reverse Engineering



Product Keys Based on the Advanced Encryption Standard (AES)
Rating:
Jeffrey Walton - 11/28/2006
Protect Software with Product Keys based on the Advanced Encryption Standard (AES).

Getting Started Reverse Engineering
Rating: none
John Robbins - 04/13/2001
Lots of people complain that Windows and other products should be open sourced. Well, they are! It's just that you don't have C or VB source code you have assembly language binaries. In this month's article, John discusses how to get started thinking about reverse engineering so you can figure out how things work.


Tracing



Standalone Tracer Window
Rating:
Ovidiu Cucu - 12/08/2005
Discover a tool that displays run-time debug information for MFC applications.

QPerformanceTimer
Rating:
Sjaak Priester - 08/16/2005
"Profile" a block of C++ code with just one include file and two variable definitions.

Extended Trace Macros for Win32
Rating: none
Zoltan Csizmadia - 03/06/2001
Messages with source code link, run-time callstack information, function prototype information with parameter values. and much more!


Cache', the world's fastest object database, does away with mapping. Free download.
Fix bad addresses and phone numbers before they ruin your database. Download a free Data Quality Tools trial.
Download: SQL Anywhere Developer Edition
Free Trial: Web-based Bug Tracking Helps Ensure Issues Get Resolved, Not Lost.
Whitepaper: High Performance Apps with Advanced Numerical Analysis on the .NET Framework

Solutions