CrashDoctor is a program developed to recover crashing programs. It works as a JIT windows debugger and activates when a windows program crashes. It then attaches to the program and tries to recover the program from crashing state by careful analysis of the program. CrashDoctor has another useful feature, once a program crashes; CrashDoctor monitors the execution of the program. If the program tries to open an existing file for writing CrashDoctor intercepts this and copies the original file to a backup location. This prevents any further damage done by the misbehaving program.