Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: "Jerome H. Fine" <everyone@nospam.com>
Subject: Re: Debugging Programs under RT-11
Date: Mon, 27 May 2013 15:35:01 -0400	[thread overview]
Message-ID: <51a3b6dd$0$32111$14726298@news.sunsite.dk> (raw)
In-Reply-To: <ko09u5$n1r$1@speranza.aioe.org>

[-- Attachment #1: Type: text/plain, Size: 2061 bytes --]

 >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

[-- Attachment #2: Type: text/html, Size: 2621 bytes --]

  reply	other threads:[~2013-05-27 19:35 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-05-27 14:05 Debugging Programs under RT-11 Jerome H. Fine
2013-05-27 18:50 ` glen herrmannsfeldt
2013-05-27 19:35   ` Jerome H. Fine [this message]
2013-05-27 21:23     ` Johnny Billquist
2013-05-28  2:06       ` Jerome H. Fine
2013-05-28  9:35         ` Johnny Billquist
2013-05-28 12:46           ` Jerome H. Fine
2013-05-28 14:33             ` Johnny Billquist
2013-05-28 16:56               ` Jerome H. Fine
2013-05-28 20:42                 ` Johnny Billquist
2013-05-29 21:15                   ` Jerome H. Fine
2013-05-30  1:29                     ` Johnny Billquist
2013-05-31 16:38                       ` paramucho
2013-05-31 17:44                         ` Johnny Billquist
2013-06-04  3:03                           ` paramucho
2013-06-04 18:57                             ` Johnny Billquist
2013-06-06 14:21                           ` Jerome H. Fine
2013-06-06 20:29                             ` Johnny Billquist
2013-05-28 16:25 ` paramucho
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox