My solution is to install Windows 2000 in VMWare.
How to enter DEBUG in the Command Prompt
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?
3 answers
Sort by: Most helpful
-
-
Sam of Simple Samples 5,516 Reputation points
2021-06-25T20:50:53.17+00:00 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.
-
Tianyu Sun-MSFT 27,106 Reputation points Microsoft Vendor
2021-06-28T03:47:28.463+00:00 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 usedevenv /DebugExe
command(inDeveloper 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,
Tianyu- 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.
- If the answer is helpful, please click "Accept Answer" and upvote it.