Control Stack Depth
When recording particularly high-level points in an application, the Stack Frame count can result in a lot of information being collected; to achieve a quicker and clearer picture, it is better to limit the stack depth on the toolbar of either:
- The Breakpoint and Markers window or
- The Record & Analyze window
Execute > Analyze > Recorder > Open Recorder
Set the recording stack depth
You set the recording stack depth in the numerical field on the toolbar of the Breakpoints & Markers window or the Record & Analyze window:
By default, the stack depth is set to three frames. The maximum depth that can be entered is 30 frames.
The depth is relative to the stack frame where a recording marker is encountered; so, when recording begins, if the stack frame is 6 and the stack depth is set to 3, the Debugger records the frames 6 through 8.
For situations where the stack is very large, it is recommended that you first use a low stack depth of 2 or 3. From there you can gradually increase the stack recording depth and insert additional recording markers to expand the picture until all the necessary information is displayed.