Running Under a Debugger (Error Detection)

Related Topics

In the Purify standalone user interface:

1.    Open the Run Program dialog box.

2.    Type the name of the program you want to instrument and run, select a previously specified name from the Program name list, or click images\brbut.gif to search for a file name.

3.    Type any command-line arguments you want to include.

4.    Select Run program under debugger.

5.    Click Settings to specify settings for this and future runs of the program.

6.    Click Run. Your specified debugger starts.

7.    Start the program from within the debugger. For example, click the Go tool.

Notes:

§      Use Purify to enhance the capabilities of your debugger. Running an instrumented program under the debugger offers all the normal debugging capabilities and, in addition, Purify's checking is active within the program you are debugging. If Purify detects a problem, after displaying the message in the Error View, it can stop the program and pass control to the debugger for further investigation.

§      To quickly debug the messages you are most interested in, filter out the ones you do not want to debug. Then use the Break on Error tool to stop in the debugger on your important messages.

§      If you are using Purify integrated with Visual Studio to perform error detection and to collect coverage data for native-compiled (unmanaged) code, use the Run Program dialog box and proceed as described in this topic, instead of engaging the Purify integration.

(C) Copyright IBM Corporation 1992, 2010.