gpt4 book ai didi

azure - 本地调试azure模拟器

转载 作者:行者123 更新时间:2023-12-04 12:41:52 26 4
gpt4 key购买 nike

Windows 7、VS2012-Update1、x64。

如果我启动一个新的 MVC 项目,并将 Azure 项目添加到其中。我无法在 azure 模拟器中本地调试它。

错误:

Operation taking longer than expected

A 64-bit debugging operation istaking longer than expected. This may be caused by incompatibilitieswith 3rd party networking softwar. See help for troubleshooting these issues.

当我终止该消息时(两次):

Windows Azure Tools for Microsoft Visual Studio

There was en error attaching the debugger t the role intances'deployment18(18).mvctest.Azure.Website_IN_0' with prces Id:'8752'.Unable to attach. The Microsoft Visual Studio remote debugging monitorhas been closed on the remote machine.

第一条消息,我已经发现如果你将网站目标更改为x86,这可以解决问题。 (这解决了调试单元测试的问题)但如果我将其更改为 x86,则会弹出下一条消息:

Windows Azure Tools for Microsoft Visual Studio

Cannot start debugging. The role was built for a platform incompatible with the windows azure compute emulator. On this system the compute emulator supports anyCPU and x64.

如果我在没有调试的情况下启动(不是 x86),Windows 模拟器将启动,并且网站将打开。

有没有办法解决这个问题,我们可以在azure模拟器上调试x64网站?

谢谢。

问题已解决:

问题是,我们的普通帐户没有管理员权限,我们必须使用其他管理员用户的凭据才能在管理员模式下运行它。如果我使用该管理员用户登录并启动一切,该用户也无法加载 azure 模拟器。每个共同开发者都有同样的问题。但是当普通帐户重新获得管理员权限时,模拟器可以正常启动。所以我认为这些管理员帐户缺少一些东西(我不知道)

最佳答案

确保远程调试服务和机器调试管理器(针对 x64)正确安装并运行(服务处于“自动”状态,尤其是未禁用)。

您还可以尝试按照说明下载并重新安装远程调试工具 here

即使在同一台机器上,模拟器的调试也有可能通过远程调试路径

关于azure - 本地调试azure模拟器,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/14891748/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com