1,105,578 Community Members

Visual Studio

Member Avatar
FireBlah
Newbie Poster
15 posts since Feb 2011
Reputation Points: 0 [?]
Q&As Helped to Solve: 1 [?]
Skill Endorsements: 0 [?]
 
0
 

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.

Member Avatar
Ancient Dragon
Achieved Level 70
27,645 posts since Aug 2005
Reputation Points: 5,232 [?]
Q&As Helped to Solve: 3,038 [?]
Skill Endorsements: 115 [?]
Team Colleague
Featured
Sponsor
 
1
 

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.

Member Avatar
thines01
Postaholic
2,420 posts since Oct 2009
Reputation Points: 389 [?]
Q&As Helped to Solve: 413 [?]
Skill Endorsements: 10 [?]
Team Colleague
Featured
 
0
 

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

Member Avatar
FireBlah
Newbie Poster
15 posts since Feb 2011
Reputation Points: 0 [?]
Q&As Helped to Solve: 1 [?]
Skill Endorsements: 0 [?]
 
0
 

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

You
This article has been dead for over three months: Start a new discussion instead
Post:
Start New Discussion
Tags Related to this Article