How to enter DEBUG in the Command Prompt

Kamsi Ozo 1 Reputation point

So I've been wanting to learn Assembly for awhile, and I want to enter DEBUG into the command prompt on a Windows 10. However, once I type in DEBUG, it prints out "'DEBUG' is not recognized as an internal or external command, operable program, or batch file." I don't know if I need to run this as an administrator, but nothing's working. How do I use DEBUG in cmd.exe or DOS on a 64-bit system?

EDIT: So I found out that the 'debug' command isn't supported on Windows 10. Is there any way to use Debug on Windows 10, or do I need to use something else?

A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
3,553 questions
Visual Studio Debugging
Visual Studio Debugging
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Debugging: The act or process of detecting, locating, and correcting logical or syntactical errors in a program or malfunctions in hardware. In hardware contexts, the term troubleshoot is the term more frequently used, especially if the problem is major.
948 questions
0 comments No comments
{count} votes

3 answers

Sort by: Most helpful
  1. Hell 36 Reputation points

    My solution is to install Windows 2000 in VMWare.

    1 person found this answer helpful.
    0 comments No comments

  2. Sam of Simple Samples 5,516 Reputation points

    Look at Getting Started with Windows Debugging. It is used for debugging Windows drivers but it can be used for user-mode applications too. Download from Download Debugging Tools for Windows. I have not used it but it is the most likely tool provided by Microsoft. Otherwise you can search for non-Microsoft solutions.

    The best solution however is to use Visual Studio. Compiler intrinsics and assembly language describes use of assembler in C++ but it also has resources for straight assembler programming. VS has a sophisticated debugger that I assume works great for straight assembler too.

    0 comments No comments

  3. Tianyu Sun-MSFT 27,796 Reputation points Microsoft Vendor

    Hello @Kamsi Ozo ,

    Welcome to Microsoft Q&A forum.

    Perhaps, you can have a try cl command to compile/build the C++ related(maybe embed assembly-language) files/programs and use devenv /DebugExe command(in Developer Command Prompt for VS XXXX) to debug it.

    Syntax of “/DebugExe

    Description of “/DebugExe” command line switch

    (Syntax of “cl” command line, and Compiler options)

    Best Regards,

    • If the answer is helpful, please click "Accept Answer" and upvote it.
      Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.
    0 comments No comments