The CVW windows, menus, and commands are used in the same way as for CV. See Chapter 9, “The CodeView Environment,” for details on the format of CodeView windows and how to use the windows and menus. Like the MS-DOS CodeView, CVW allows you to display and modify any program variable, section of addressable memory, or processor register. However, CodeView for Windows differs from CV in the following ways:
Because Windows has a special use for the ALT+/ key combination used by CV to repeat a search, CVW uses CTRL+R.
CVW tracks your application's segments and data as Windows moves them in memory. Thus, when you refer to an object by name, CVW always supplies the correct address.
CVW also provides six additional Command-window commands for Windows debugging, which are summarized in the following list:
Windows Display Global Heap (WDG)
Displays memory objects in the global heap.
Windows Display Local Heap (WDL)
Displays memory objects in the local heap.
Windows Dereference Local Handle (WLH)
Dereferences a local heap handle to a pointer.
Windows Dereference Global Handle (WGH)
Dereferences a global heap handle to a pointer.
Windows Display Modules (WDM)
Displays a list of the application and DLL modules currently loaded in Windows.
Windows Kill Application (WKA)
Terminates the task that is currently executing by simulating a fatal error.
For details on using these commands, see “CVW Commands”.
The following CV features are not available in CVW.
The Print command from the File menu.
The DOS Shell command from the File menu and the corresponding Shell (!) Command-window command.
The Screen Swap command from the Options menu and the corresponding Options (OF) Command-window command.