We're a community of 1077K IT Pros here for help, advice, solutions, professional growth and fun. Join us!
1,076,408 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Start New Discussion Reply to this Discussion

Visual Studio

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.

3
Contributors
3
Replies
2 Weeks
Discussion Span
1 Year Ago
Last Updated
4
Views
FireBlah
Newbie Poster
15 posts since Feb 2011
Reputation Points: 10
Solved Threads: 1
Skill Endorsements: 0

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.

Ancient Dragon
Achieved Level 70
Team Colleague
32,145 posts since Aug 2005
Reputation Points: 5,836
Solved Threads: 2,577
Skill Endorsements: 69

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

thines01
Postaholic
Team Colleague
2,433 posts since Oct 2009
Reputation Points: 447
Solved Threads: 408
Skill Endorsements: 7

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

FireBlah
Newbie Poster
15 posts since Feb 2011
Reputation Points: 10
Solved Threads: 1
Skill Endorsements: 0

This article has been dead for over three months: Start a new discussion instead

Post: Markdown Syntax: Formatting Help
 
You
 
© 2013 DaniWeb® LLC
Page rendered in 0.0604 seconds using 2.64MB