Changing Call Stack Lengths to Locate Errors (Error Detection)

Related Topics

 

1.    Open the Default Settings or Executable Settings dialog box, or click Settings in the Run Program dialog box.

2.    Select the Errors and Leaks tab.

3.    Select whether to Show maximum call stack detail.

4.    Increase the number specified in Call stack: Length for errors.

5.    Increase the number specified in Call stack: Length for allocations.

Notes:

§      By default, Show maximum call stack detail is not selected, and Purify records call stack data only for Windows APIs and functions that were instrumented at precise level. When this option is selected, Purify records call stack data for your program and all functions that are invoked by your program, including system functions.

§      Purify uses the error location call stack to determine whether a message is a unique or repeat occurrence. Specifying a larger number gives Purify more call stack levels to compare and increases the chances that Purify will display a message as a unique occurrence.

§      A large allocation location call stack uses more memory at run time and takes longer to record. If your program performs many small allocations, the cost in storage of a large call stack can become significant because call stacks are stored for the lifetime of the allocation.

(C) Copyright IBM Corporation 1992, 2010.