To specify whether your Visual C++ .NET application will be compiled with or without stack frames, do the following:
- Open the Project Properties dialog.
- Select the Configuration > C/C++ > Optimization category from the tree list on the left.
- In the right part of the dialog, assign No to the Omit Frame Pointer setting in order to compile your application with stack frames. To compile the application without stack frames, set the option to Yes.