Hey guys. I was running assembly lang on visual studio but when I debug it, the cmd prompt window doesn't stay on. It displays the output and disappears immediately giving you no chance to take a really good look at your output. How to solve it? Thank you.

Recommended Answers

That's because you have to either add a call to keyboard input so that the program waits for you to press a key, or run it in its own cmd window.

Jump to Post

All 3 Replies

That's because you have to either add a call to keyboard input so that the program waits for you to press a key, or run it in its own cmd window.

If running in Debug Mode, you can put a "breakpoint" on the last line and the program will pause there.

Yeah. I got it. It's working. I used WaitMsg. Thanks for the replies

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.21 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.