From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Thread: 1164f8,1b0e337c9ace3fea X-Google-NewGroupId: yes X-Google-Attributes: gidd180ab3bd8,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit X-Received: by 10.66.176.49 with SMTP id cf17mr3002266pac.27.1369689791829; Mon, 27 May 2013 14:23:11 -0700 (PDT) Path: d5ni15658pbl.0!nntp.google.com!npeer03.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!newsfeed1.swip.net!de-l.enfer-du-nord.net!feeder2.enfer-du-nord.net!cs.uu.nl!news.stack.nl!newsfeed.Update.UU.SE!news.Update.UU.SE!.POSTED!not-for-mail From: Johnny Billquist Newsgroups: alt.sys.pdp11,vmsnet.pdp-11,comp.sys.dec Subject: Re: Debugging Programs under RT-11 Date: Mon, 27 May 2013 23:23:11 +0200 Organization: Update Computer Club Message-ID: References: <51a368d5$0$32108$14726298@news.sunsite.dk> <51a3b6dd$0$32111$14726298@news.sunsite.dk> NNTP-Posting-Host: 178-83-31-172.dynamic.hispeed.ch Mime-Version: 1.0 X-Trace: Iltempo.Update.UU.SE 1369689791 15170 178.83.31.172 (27 May 2013 21:23:11 GMT) X-Complaints-To: newsmaster@Update.UU.SE NNTP-Posting-Date: Mon, 27 May 2013 21:23:11 +0000 (UTC) User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:17.0) Gecko/20130509 Thunderbird/17.0.6 In-Reply-To: <51a3b6dd$0$32111$14726298@news.sunsite.dk> X-Received-Bytes: 3638 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit On 2013-05-27 21:35, Jerome H. Fine wrote: > >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. Did the PDP-11 symbolic debugger never make it to RT-11? Johnny -- Johnny Billquist || "I'm on a bus || on a psychedelic trip email: bqt@softjar.se || Reading murder books pdp is alive! || tryin' to stay hip" - B. Idol