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.

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

Edited 4 Years Ago by FireBlah: n/a

This article has been dead for over six months. Start a new discussion instead.