.NET中可能重复的 调试Visual Studio发行版
Visual Studio中的Debug和Release有什么区别?
继续上一个问题,是否有一个全面的文档列出了C#应用程序中调试和发布模式之间的所有可用差异,特别是在Web应用程序中?
有什么区别?
可能重复:
调试/版本差异
调试版本和发布版本之间的性能差异
在调试模式VS发布模式下编译和运行asp.net/c#项目有何不同?
我正在使用Visual Studio 2008开发一个项目.
如果我选择调试模式但没有调试就开始会怎样?这不是冲突吗?
这两个菜单之间有什么关系?
所以我对工资单申请的最终查询是 -
如何为工资单应用程序创建设置?
我只需要知道 -
我已阅读下面的教程,但我没有得到真正的解决方案.
http://msdn.microsoft.com/en-us/library/vstudio/2kt85ked%28v=vs.100%29.aspx
我目前正在开发一个 Android 应用程序,并且对 VS 进行了一些修改。
我想知道,这两种模式之间的真正区别是什么?我做了一些研究,但并没有完全了解每种模式的真正差异和优点,以及何时使用特定模式。
在我的研究过程中,我遇到了问题1、2和3,谈论了两者之间的差异。
- 为什么调试模式比发布模式运行慢?
- 当向 Google Play 发布应用程序时,我应该使用哪种模式?为什么?
- 我可以创建自己的模式吗?
我的应用程序似乎在调试模式下构建得很好,但在发布模式下我收到很多关于“未找到调试符号文件”的警告。
- 那些调试符号是什么?
- obj/Debug 或 obj/Release 中的“81”文件夹是什么?
- 我还注意到,有时,当从调试切换到发布时,找不到某些 Resource.Id,我需要为布局重新创建 axml 文件并清理 sln。我该如何预防?
据我了解,调试模式使用一些发布模式不需要的文件才能运行,我假设丢失的文件是那些“调试符号”?也许是 Xamarin 或者 VS 的问题?这些是我收到的警告:
Warning Directory obj\Release\81\android/assets contains Xamarin.Android.Support.v7.AppCompat.dll but no debug symbols file was found. 0
Warning Directory obj\Release\81\android/assets contains Java.Interop.dll but no debug symbols file was found. 0
Warning Directory obj\Release\81\android/assets contains Xamarin.Android.Arch.Core.Common.dll but no debug symbols file was found. 0
Warning Directory obj\Release\81\android/assets contains Xamarin.Android.Arch.Lifecycle.Common.dll but no …Run Code Online (Sandbox Code Playgroud) # include <stdio.h>
# include<time.h>
# include <limits.h>
int main() {
clock_t start;
long a = 0;
long b = 0;
start = clock();
for (int i = 0; i < INT_MAX; i++) {
for (int j = 0; j < INT_MAX; j++) {
for (int k = 0; k < INT_MAX; k++) {
for (int q = 0; q < INT_MAX; q++) {
b = 1;
}
}
}
}
printf("%.5f\n", ((float)(clock() - start) / CLOCKS_PER_SEC));
start = clock(); …Run Code Online (Sandbox Code Playgroud)