Debug (command)

DEBUG.COM (MS-DOS <= 2.0), DEBUG.EXE (MS-DOS >= 3.x)
Original author(s)Tim Paterson
Developer(s)Microsoft, IBM, Digital Research, Novell, Caldera
Written inMS-DOS: x86 assembly language
Operating systemDOS, OS/2, Windows
TypeDebugger
LicenseMS-DOS v2.0, FreeDOS: MIT
OS/2, Windows: Proprietary software
WebsiteDebug

The line-oriented debugger DEBUG.EXE is an external command in operating systems such as DOS, OS/2 and Windows (only in 16-bit/32-bit versions[1]).

DEBUG can act as an assembler, disassembler, or hex dump program allowing users to interactively examine memory contents (in assembly language, hexadecimal or ASCII), make changes, and selectively execute COM, EXE and other file types. It also has several subcommands which are used to access specific disk sectors, I/O ports and memory addresses.

  1. ^ Cite error: The named reference MASM for x64 was invoked but never defined (see the help page).