-
Help - Running C# programs with C# Builder
I have a little problem and was hoping somebody could help me with it.
I am using the Borland C# Builder IDE. I compile a project from C# Buider and it gives me the required output on the command line console. However, the console window terminates immediately on completion of the output.
What do I have to do, to make it visible until I give the exit command ? An option is writing the line:
Console.Readline ();
at the end of the program. But I want to know, if this can be done NON-programmaticaly; i.e. by adjusting the IDE itself - Project / Run / Tools -menus, etc.
Best regards,
Amit Mishra
-
Not sure about non-programmatic, but what I usually do is:
#if DEBUG
Console.Write("Press [ENTER] to end");
Console.ReadLine();
#endif
HTH,
Kent
-
For the moment, only the line:
Console.ReadLine ();
appended to end of every program, is working allright for me.
But, why should I even have to do that. I will then have to keep track of every breakpoint in a complex project.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks