Checking Child Processes (Error Detection)

Related Topics

To Purify a child process, you must first instrument the child executable. To do that, instrument the child executable separately by typing the following at the command line:

purify /Run=no /Replace=yes child.exe

Purify instruments the executable, renames the original file to Child.exe.original, and names the instrumented version Child.exe. Now, when the parent process starts Child.exe with CreateProcess, it actually starts the instrumented executable. When you instrument and run Parent.exe, it brings up Purify so you can see data for both the parent and child process displayed in separate Error Views.

Notes:

§      If you are using Microsoft Windows 2000 or higher, the Windows File Protection feature (WFP) may prevent certain types of files from being replaced. For a workaround to this problem, click images\shortcut.gif.

(C) Copyright IBM Corporation 1992, 2010.