>glen herrmannsfeldt wrote: >>In alt.sys.pdp11 Jerome H. Fine wrote: > > >>Does anyone reading this still write code to be run >>under RT-11? When a program has a bug, what do >>you use to find the problem? For debugging programs, >>SD: seems the most efficient way, especially when a >>Mapped Monitor is being used. Alternatively, ODT >>(VDT when Multi-terminal Support is included in the >>RT-11 monitor) can be LINKed into the program. >> >> > >Not recently, but when I did write and debug under >RT-11 I never used a debugger. Well, it was pretty much >all Fortran, and there aren't so many ways to go wrong. > >Most of the time when I saw the output I knew pretty much >where the problem was. I still mostly don't use debuggers >to debug programs, though sometimes just to find where the >problem is. > When I wrote Fortran programs, I rarely used a debug. About the only time it was necessary was when something really crazy was taking place. In addition, one time I was dividing two 16 bit integer values and the Fortran compiler was doing an inline divide. The first step was to place the quotient into R1 and "SXT R0". Unfortuately, I required an UNSIGNED divide and near the end of 1999, the quotient became negative due to Y2K issues. After I realized what was causing the problem, the trivial solution was to patch the SAV file and SXT R0 became CLR R0. The reason I am asking about debug utilities such as SDHX.SYS and VDT is that they each have advantages and disadvantages, SDHX.SYS has superb displays of the registers and the instructions being executed and does NOT need to be LINKed into the SAV file - but it completely freezes EVERYTHING!!!!!!!! VDT has very poor display features along with being LINKed into the SAV file, but allows other programs to continue to execute. I don't understand why DEC never managed to combine all of the good features into one package. It should be possible and I was wondering if anyone else might be interested as well. Jerome Fine