visual-studio “活动(调试)”与“调试”

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/3427837/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-10-22 12:19:12  来源:igfitidea点击:

"Active (Debug)" versus "Debug"

visual-studio-2010visual-studiovisual-studio-2008visual-studio-2005

提问by gerryLowry

Visual Studio Debugger
Project Settings for C# Debug Configurations

C# 调试配置的Visual Studio 调试器
项目设置

"Sets mode for compiling the application.
Choose among
Active (Debug), <========
Debug, <========
Release,
All Configurations."

“设置编译应用程序的模式。

Active (Debug), <========
Debug, <========
Release ,
All Configurations 中选择。

It appears that Active (Debug)and Debugare two separate choices.
However, the MSDN library fails to explain the difference between Active (Debug)and Debug.

看起来Active (Debug)Debug是两个不同的选择。
但是,MSDN 库未能解释Active (Debug)Debug之间的区别 。

There's no information here: "Visual Studio Debugger Project Settings for C# Debug Configurations"

这里没有信息:“C# 调试配置的 Visual Studio 调试器项目设置”

I could not find any explanation via Google either.

我也无法通过谷歌找到任何解释。

QUESTION:
What is the difference between Active (Debug)and Debug?

问题:Active (Debug)Debug
之间有什么区别 ?

回答by JaredPar

The Active tab is to denote the currently active configuration. In the case of Active (Debug) it is noting the active configuration is the debug one.

Active 选项卡用于表示当前活动的配置。在活动(调试)的情况下,注意活动配置是调试配置。

You can demonstrate this by changing the current configuration to Release and then revisiting the Debug tab. It will now display Active (Release).

您可以通过将当前配置更改为 Release,然后重新访问 Debug 选项卡来演示这一点。它现在将显示活动(发布)。

回答by Richard Slater

Active refers to the currently active configuration, there is a drop down list in the standard toolbar that allows you to define the current active configuration, when you change these the "Active" configuration in project properties will change.

Active 是指当前活动的配置,标准工具栏中有一个下拉列表,允许您定义当前活动的配置,当您更改这些时,项目属性中的“活动”配置将发生变化。

enter image description here

在此处输入图片说明