Dynamic debugging technique

{{Short description|Series of debugger programs}}

{{Use dmy dates|date=July 2019|cs1-dates=y}}

{{Use list-defined references|date=January 2022}}

File:Digital Research CP-M-86 for the IBM Personal Computer Version 1.0 720x400.png CP/M-86 for the IBM Personal Computer Version 1.0]]

Dynamic Debugging Technique (DDT) is a series of debugger programs originally developed for Digital Equipment Corporation (DEC) hardware, initially known as DEC Debugging Tape because it was distributed on paper tape. The name is a pun on the insecticide DDT. The first version of DDT was developed at MIT for the PDP-1 computer in 1961, but newer versions on newer platforms continued to use the same name. After being ported to other vendor's platforms and changing media, the name was changed to the less DEC-centric version. {{anchor|CP/M}}Early versions of Digital Research's CP/M and CP/M-86 kept the DEC name DDT (and DDT-86 and DDT-68K) for their debugger, however, now meaning Dynamic Debugging Tool. The CP/M DDT was later superseded by the Symbolic Instruction Debugger (SID, ZSID, SID86, and GEMSID) in DR DOS and GEM.

In addition to its normal function as a debugger, DDT was also used as a top-level command shell for the Massachusetts Institute of Technology (MIT) Incompatible Timesharing System (ITS) operating system; on some more recent ITS systems, "PWORD"—which implements a restricted subset of DDT's functionality—is run first and is overlaid with DDT as soon as the user logs in. DDT could run and debug up to eight processes (called "jobs" on ITS) at a time, such as several sessions of TECO, and DDT could be run recursively - that is, some or all of those jobs could themselves be DDTs (which could then run another eight jobs, and so on). These eight jobs were all given unique names, and the usual name for the original and top-most DDT was "HACTRN" ("hack-tran"). Guy L. Steele wrote a filk poem parody of Edgar Allan Poe's "The Raven," entitled The HACTRN.{{fact|date=April 2020}}

{{anchor|TDT}}DEC-10/DEC-20 DDT

DDT (Dynamic Debugging Technique), as implemented on the DECsystem-10 & DECSYSTEM-20 allowed references to symbols within the programming being debugged. This feature loaded symbols from the .EXE executable file; a special version named SDDT used symbols from the running monitor and allowed system programmers to "peek" inside.

See also

References

{{reflist|refs=

{{cite journal |author-first=Gary Arlen |author-last=Kildall |author-link=Gary Arlen Kildall |title=A simple technique for static relocation of absolute machine code |journal=Dr. Dobb's Journal of Computer Calisthenics & Orthodontia |publisher=People's Computer Company |volume=3 |issue=2 |id=#22 ark:/13960/t8hf1g21p |date=February 1978 |orig-date=1976 |pages=10–13 (66–69) |isbn=0-8104-5490-4 |url=https://archive.org/details/dr_dobbs_journal_vol_03/page/n67/mode/1up |access-date=2017-08-19}} [https://web.archive.org/web/20170819141800/http://www.retrotechnology.com/dri/d_dri_refs.html][https://web.archive.org/web/20170819173516/http://archive.computerhistory.org/resources/access/text/2016/12/102762506-05-01-acc.pdf][https://archive.today/20170909091943/https://groups.google.com/forum/%23!msg/comp.os.cpm/TLHgIi16yTo/gupNB1ai8UQJ#!topic/comp.os.cpm/TLHgIi16yTo]. Originally presented at: {{cite conference |title=Conference Record: Tenth Annual Asilomar Conference on Circuits, Systems and Computers: Papers Presented November 22–24, 1976 |editor-first=Harold A. |editor-last=Titus |chapter=A Simple Technique for Static Relocation of Absolute Machine Code |author-first=Gary Arlen |author-last=Kildall |author-link=Gary Arlen Kildall |location=Naval Postgraduate School, Monterey, California, USA |publisher=Western Periodicals Company |publication-place=Asilomar Hotel and Conference Grounds, Pacific Grove, California, USA |date=1977 |orig-date=22–24 November 1976 |issn=1058-6393 |pages=420–424 |url=https://books.google.com/books?id=cyBGAQAAIAAJ&q=relocation |access-date=2021-12-06}} (609 pages)

{{cite book |title=SID Users Guide |date=1978 |publisher=Digital Research |id=595-2549 |url=http://www.cpm.z80.de/randyfiles/DRI/SID_ZSID.pdf |access-date=2020-02-06 |url-status=live |archive-url=https://web.archive.org/web/20191020124044/http://www.cpm.z80.de/randyfiles/DRI/SID_ZSID.pdf |archive-date=2019-10-20}} (4+69 pages)

{{cite book| title =CP/M Dynamic Debugging Tool (DDT). User's Guide|publisher=Digital Research|date=1976|url=http://www.cpm.z80.de/randyfiles/DRI/DDT.pdf| access-date=2023-02-11|archive-url=https://web.archive.org/web/20070706053100/http://www.cpm.z80.de/randyfiles/DRI/DDT.pdf|archive-date=2007-07-06|url-status=live}}

{{cite book |title=SID-86 User's Guide for CP/M-86 |date=August 1982 |orig-date=March 1982 |edition=2 |publisher=Digital Research |id=SID86UG.WS4 |url=http://www.cpm.z80.de/manuals/SID86_User_Guide.txt |access-date=2020-02-06 |url-status=live |archive-url=https://web.archive.org/web/20191020123025/http://www.cpm.z80.de/manuals/SID86_User_Guide.txt |archive-date=2019-10-20}} [https://web.archive.org/web/20200208055456/https://archive.computerhistory.org/resources/access/text/2016/12/102762507-05-01-acc.pdf] (NB. A retyped version of the manual by Emmanuel Roche with Q, SR, and Z commands added.)

{{cite book |title=DRDOSTIP.TXT — Tips und Tricks für DR DOS 3.41 - 5.0 |work=MPDOSTIP |author-first=Matthias R. |author-last=Paul |date=1997-05-24 |orig-date=1991 |edition=47 |language=de |url=http://www.antonis.de/dos/dos-tuts/mpdostip/html/drdostip.htm |access-date=2016-11-07 |url-status=live |archive-url=https://web.archive.org/web/20161107125452/http://www.antonis.de/dos/dos-tuts/mpdostip/html/drdostip.htm |archive-date=2016-11-07}}

{{cite newsgroup |title=SID86 |author-first=Matthias R. |author-last=Paul |date=2002-01-09 |newsgroup=comp.os.cpm |url=https://groups.google.com/d/msg/comp.os.cpm/KG4R7ZNvHK8/U5LAkmjcxYgJ |access-date=2018-04-08 |url-status=live |archive-url=https://archive.today/20180827033457/https://groups.google.com/forum/%23!msg/comp.os.cpm/KG4R7ZNvHK8/wF6ZW1TyYj4J |archive-date=27 August 2018 |quote=[…] Since the DR-DOS 7.03 DEBUG is still based on the old SID86.EXE, I suggest to run DEBUG 1.51 and enter the extended help system with ?? from the debug prompt. This will give you eight screens full of syntax and feature help. Some of these features were also supported by older issues. […] }}

{{cite book |title=Reference Manual: DDT (Dynamic debugging technique) and TDT (Tracing debugging technique |author-first=Douglas E. |author-last=Bering |date=1975 |orig-date=1968, 1969, 1970 |id=DEC-10-UDDTA-A-D |publisher=National Technical Information Service] |chapter=Intro |url=https://www.amazon.com/Dynamic-debugging-technique-Tracing-systems/dp/B0006XBRFS |quote=DDT (Dynamic debugging technique) and TDT (Tracing debugging technique) for PDP-11 systems}}

}}