If you are working with a large application and don't want to jump right into recompiling all your code with Insure++, you can use the following method to integrate Insure++ into your development process step-by-step:

  1. Link your program with insure.
  2. Add the insure++.summarize leaks option to your .psrc file and run your program. Leaked blocks with stack traces will be reported in a summary report at the conclusion of your program.
  3. To find out when and where the blocks were leaked as well as find more bugs, start recompiling parts of your code with Insure++.

For an example of this procedure, see Link the Memory Leak with Insure++.

  • No labels