Microsoft DOS debug command
Quick links
About debug
Availability
Syntax
Examples
Debug Routines
About debug
Debug is a method of looking at portions of your computer and writing assembly code to perform certain tasks on your computer.
MS-DOS 2.x - 4.x uses debug.com
MS-DOS 5.x and above uses debug.exe
Availability
The debug command is an external command and is available in the below Microsoft operating systems.
All Versions of MS-DOS
Windows 95
Windows 98
Windows ME
Windows NT
Windows 2000
Windows XP
Syntax
DEBUG [[drive:][path]filename [testfile-parameters]]
| [drive:][path]filename |
Specifies the file you want to test. |
| testfile-parameters |
Specifies command-line information required by the file you want to test. |
After Debug starts, type ? to display a list of debugging commands.
To get out of Debug you need to "Q" and enter
To execute the Debug routine you need to do "G" and enter
Examples
debug <press enter>
-D40:00 <type D40:00, and press enter>
Information about your computer ports would be displayed
-Q <type Q, and press enter>
Additional information about the above debug routine and other debug routines can be found on our debug page. |