If you start the debugger (F5) for a console application, and you don’t have a Stop / Debugger.Break() or some sort of Console.Read() method, the console application window will appear and disappear in a flash.

However, if you start the console application without debugging, the "Press any key to continue…" message appears at the bottom.

image

I would think this behavior should happen when debugging, as you really need to see what is going on. I’m sure there’s a reason, but not quite sure who to ask.

Technorati Tags: VS2005Tip,VS2008Tip