简体   繁体   English

Visual Studio 2012没有调试选项

[英]Visual Studio 2012 has no debugging options

I'm working with Visual Studio 2012 Express (Update 4) with Windows Azure Tools 2.5. 我正在使用Windows Azure Tools 2.5处理Visual Studio 2012 Express(Update 4)。 I have the Remote Tools installed for Visual Studio 2012 Express Update 4. 我为Visual Studio 2012 Express Update 4安装了远程工具。

I'm running some WorkerRoles on Windows Azure, and I need to do some debugging on the staging version. 我正在Windows Azure上运行一些WorkerRoles,我需要对暂存版本进行一些调试。

My understanding is that I can connect to Azure using the Database Explorer in VS and find the process and attach the debugger to it. 我的理解是我可以使用VS中的数据库资源管理器连接到Azure并找到该过程并将调试器附加到它。 I've been following various tutorials around the net that all say the same as this one (which is actually very well written): http://geekswithblogs.net/shaunxu/archive/2013/11/02/remote-debug-windows-azure-cloud-service.aspx 我一直在关注网络上的各种教程,所有这些都与此相同(实际上编写得非常好): http//geekswithblogs.net/shaunxu/archive/2013/11/02/remote-debug-windows -azure-云service.aspx

The problem I have is that when I hit publish, and go to advanced settings, there's no option to enable debugging. 我遇到的问题是,当我点击发布并转到高级设置时,没有选项可以启用调试。 According to everywhere it should look like this: 据说到处都应该是这样的:

它看起来应该是这样的

But I don't have those options: 但我没有这些选择:

但它看起来像这样

Later, when I go to the cloud services in the database explorer, and I right click on the role I want to attach to, there's no option to "Attach Debugger": 后来,当我转到数据库资源管理器中的云服务时,我右键单击要附加的角色,没有“附加调试器”的选项:

没有附加调试器的选项

Is this a limitation of VS2012 Express? 这是VS2012 Express的限制吗?

Any help would be hugely appreciated. 任何帮助将非常感激。

Cheers, Chris 干杯,克里斯


EDIT: 编辑:

As in the tutorial I have the Build Configuration set to Debug: 在教程中我将Build Configuration设置为Debug:

构建配置设置为调试

I realise that this may/may not help others experiencing this problem. 我意识到这可能/可能无法帮助其他人遇到这个问题。

I solved the problem by completely uninstalling all the different versions of Visual Studio, .NET, SQL Server tools. 我通过完全卸载所有不同版本的Visual Studio,.NET,SQL Server工具解决了这个问题。 I had tried so many different versions of things that Azure tools and things may not have been applying to the correct version. 我尝试了很多不同版本的东西,Azure工具和东西可能没有应用到正确的版本。

Here's the important bit: 这是重要的一点:

The version I'm working with now is Visual Studio 2012 Professional. 我现在使用的版本是Visual Studio 2012 Professional。

If re-installing doesn't solve the problem, Visual Studio 2012 Pro has these features. 如果重新安装无法解决问题,Visual Studio 2012 Pro具有这些功能。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM