Before a program can be debugged, you must include debugging information with the project.
·To prepare the GENERIC project for debugging:
1.Open the GENERIC project.
2.From the Options menu, choose Project. The Project dialog box appears. (See Figure 5.3.)
3.Select the Debug Build Mode option and choose OK.
4.From the Project menu, choose Build.
You can set the Release and Debug options in the Project dialog box as you work.
As an alternative to using the Development Environment debugger, you can use Microsoft CodeViewÒ (for DOS programs) or the Microsoft CodeView for Windows version 3.0 debugger (sold separately) to debug your programs.
When doing so, select the CodeView 3.X Format checkbox in the Customize Linker Options dialog box before you build the project. This dialog box appears when you choose the Linker button in the Customize Build Options section of the Project dialog box.