4.12 Handling Abnormal Termination of the Application

Your application can terminate abnormally in one of two ways while you are debugging it with CVW. It can cause a fatal exit, or it can cause a GP fault. In both cases, CVW regains control, giving you the opportunity to examine the state of the system when your application terminated. In particular, you can often determine the location in your application's code where the error occurred or which call caused the error. CVW makes it possible for you to view registers, display the global heap, display memory, and examine the source code.

Once you have determined where the error occurred, type the q (Quit) command in the Command window to terminate CVW. In most cases, control returns to Windows.