The present invention relates generally to computer systems and particularly to an apparatus and method for automatically re-generating debug commands at proper addresses upon the modification of asource code program by a simulator.BACKGROUND OF THE INVENTIONThe present invention provides an improvement to the basic debugging technique used during code development.