是什么在Visual Studio 2010中调试模式和发布模式之间的区别? [英] What is the difference between Debug Mode and Release Mode in Visual Studio 2010?

查看:117
本文介绍了是什么在Visual Studio 2010中调试模式和发布模式之间的区别?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

可能显示的文件:结果
  调试/发布差别结果
  <一href=\"http://stackoverflow.com/questions/4043821/performance-differences-between-debug-and-release-builds\">Performance调试和发布之间的差异建立

到底是什么在编译和运行在调试模式VS释放模式的asp.net/c#项目不同?

What exactly is the different in compiling and running an asp.net/c# project in Debug mode VS Release Mode?

推荐答案

调试模式 .exe文件调试信息它(来源$ C ​​$ C,变量名和其他类似的东西一样)。在

In Debug Mode your .exe has debug information inside of it (source code, variable names and other similar stuff like that).

释放模式 .exe文件缺乏的调试信息使其体积更小,可能是由于更好地执行其更小的体积。

In Release Mode your .exe lack of debug information makes it smaller and probably performs better due to its smaller footprint.

这篇关于是什么在Visual Studio 2010中调试模式和发布模式之间的区别?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆