开发者

How to run app from VC++ without debug?

I'm trying to learn to love Visual C++ 2010 Express, but it is difficult! I've just created a "Hello world" console app and compiled it - no problems. I now want to run it. It seems the only option open to me is to run it in the debugger - there is a "Run" button on the toolbar but it is disabled. I don't want to debug it - I reall开发者_运维百科y don't like debuggers! Is there any way of just running the app from inside the VS IDE?


If you can't see the "Start Without Debugging" command in the toolbar, go to "Tools -> Settings -> Expert Settings". Basic Settings hides lots of stuff you probably want to see.

Professional version of VC2010 doesn't seem to have this switch.


  • Open the Tools menu
  • Go to Customize
  • Switch to the Commands tab
  • Select the Debug category
  • Drag the "Start Without Debugging" command to the Debug menu item

Edit: Full disclosure, I don't actually have VC++2010 Express installed on this computer, so I'm just sort of winging it here.


If you want to have a "Start Without Debugging" icon on the menu bar instead of in the drop-down Debug menu (even if Tools->Settings = "Basic Settings"), do this:

Tools->Customize->Commands->(choose Menu bar)->Add Command->Debug->Start Without Debugging->ok.

Then Move Up/Down if you want to change its position.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜