Syntax::Debug (command)


Debug::debug    Program::author    Filename::debug    Title::ms-dos    Category::using    Windows::language


debug [[drive:][path] filename [parameters]]

When Debug is started without any parameters the Debug prompt, a "-" appears. The user can then enter one of several one or two-letter subcommands, including "a" to enter the assembler mode, "d" to perform a hexadecimal dump, "t" to trace and "u" to unassemble (disassemble) a program in memory.<ref>{{#invoke:citation/CS1|citation |CitationClass=web }}</ref> Debug can also be used as a "debug script" interpreter using the following syntax.

debug < filename

A script file may contain Debug subcommands and assembly language instructions.<ref name = "Using_Debug">{{#invoke:citation/CS1|citation |CitationClass=book }}</ref> This method can be used to create or edit binary files from batch files.<ref name = "Sedory"/>

Debug (command) sections
Intro  Background  Syntax  Using for non-debugging purposes  See also  References  

PREVIOUS: BackgroundNEXT: Using for non-debugging purposes