1. A method for debugging a computer application to be used with an external routine, said method comprising the computer-implemented steps of: automatically generating an arrangement of instructions based on a declaration of said external routine; linking said arrangement of instructions into said computer application in place of said external routine; executing said arrangement of instructions by running said computer application on a first computer system; and checking for a fault while running said computer application.