viric: a big part of the problem was that the Turbo Pascal IDE ran in the same process as the program being debugged, so if you had any memory corruption the debugger itself or the data it was operating on could be invalidated