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: [email protected]
        ReportedBy: [email protected]
         QAContact: [email protected]
          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.
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to