Start Debugging problem with SP1

Since applying the VS 2005 SP1 update, when compiling a C++ program under 'Start Debugging' the console window comes up to accept data but then displays the result (I assume) and closes instantly/ automatically.

If I then run the same program in 'Start Without Debugging' the console window does not close until it has displayed the result and halts displaying 'press any key to continue...", which is how it used to operate using
'Start Debugging.'

Any suggestions, please (I have run a search through this forum, but the results did not bring anything directly related.)

Nick


Answer this question

Start Debugging problem with SP1

  • Josh Dugan

    That other answer provides a relatively detailed explanation but I don't understand why VC does that. I think the important thing is that VC has always done that; that is, for debugging the console window is closed immediately whereas when not debugging the console window get the prompt that keeps the window open until we press a key. As far as I know, there is no reason why VC can't be consistent.

  • -M-

    This question have asked in the Visual C++ Language forums some time back. please check it.

    http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=1107954&SiteID=1


  • Start Debugging problem with SP1