[Mono-bugs] [Bug 653130] New: Console doesn't close after debugging program.

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Thu Nov 11 18:22:53 EST 2010


https://bugzilla.novell.com/show_bug.cgi?id=653130

https://bugzilla.novell.com/show_bug.cgi?id=653130#c0


           Summary: Console doesn't close after debugging program.
    Classification: Mono
           Product: Mono Tools for Visual Studio
           Version: 2.0
          Platform: i586
        OS/Version: Windows XP
            Status: NEW
          Severity: Major
          Priority: P5 - None
         Component: Debug in Mono
        AssignedTo: martin at novell.com
        ReportedBy: dmulder at novell.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---
           Blocker: ---


Windows XP
Visual Studio 2008
MonoTools 2.0.8152
This is also reproducible on a Windows 7 machine with VS 2010.

Description of Problem:
Normally a console app either terminates automatically, or prints "Press any
key to continue..." after execution (depending on how the setting is set in the
profile advanced options). This is still happening when you Run a program, but
when you debug, neither option works. The console just stays open after
execution.

Steps to reproduce the problem:
   1. Open Visual Studio.
   2. Create a new console project.
         1. File
         2. New Project
         3. Visual C#
         4. Windows
         5. Console Application 
   3. Add the following code to Main:
         Console.Write("What is your name? ");
         string name = Console.ReadLine();
         Console.WriteLine("You said [" + name + "].");
     Console.ReadLine();
   4. Set a breakpoint on the last Console.WriteLine() method.
   5. Run the program to the end.

Actual Results:
Console stays open after execution.

Expected Results:
Console should either print "Press any key to continue...", or terminate
automatically.

How often does this happen? 
Always.

-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the mono-bugs mailing list