The fourth step in Purify'ing your native-compiled Visual C/C++ code is to correct the errors and rerun the program.
1. In the Error View, double-click the line where the error occurs. Purify opens your source code in your editor at the exact location of the error, ready for your correction.
2. Correct and rebuild the program.
3. Rerun the updated program and compare the new results to the previous run, and verify that you've fixed the errors.
4. Repeat the cycle of instrumenting and running, analyzing, and correcting until your program runs clean.
You can use the Navigator to switch between the two runs, and keep track of all the runs you're working with. You can also save Error View data as a data file (.pfy or .pcy), to share with colleagues who have Purify.
If you are collecting coverage data for runs, you can also find sections of your code that you have not exercised, and include those sections in your test runs as you check for errors.
(C) Copyright IBM Corporation 1992, 2010.