A computer method for patching applications that are incompatible with an operating
system is provided. The method determines if an application is compatible with
an operating system, and if the application is determined to be incompatible, a
debugger is loaded that runs the incompatible application. The debugger calls a
handler to patch the incompatibilities of the application when a breakpoint has
been reached in the incompatible application during the running of the incompatible application.