尝试调试wp8.1时,Visual Studio停止工作 [英] Visual Studio stops working when trying to debug wp8.1

查看:77
本文介绍了尝试调试wp8.1时,Visual Studio停止工作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


我正在尝试在Windows Phone 8.1设备上调试通用Windows 8.1应用程序但是9/10次我收到错误:Visual Studio已停止工作。当我尝试连接Windows Phone Power Tools时也会出现同样的情况。


我有



  • Windows 10 Enterprise v1511
  • Visual Studio 2015 Update 3 v10.0.10586 build 10586
  • Nokia Lumia 620 with wp8.1 v8.10.14219.341

我从事件查看器中得到了这个:

 < Event xmlns =" http://schemas.microsoft.com/win/2004/08 /活动/事件"> 
< System>
< Provider Name =" Application Error" />
< EventID Qualifiers =" 0"> 1000< / EventID>
< Level> 2< / Level>
< Task> 100< / Task>
< Keywords> 0x80000000000000< / Keywords>
< TimeCreated SystemTime =" 2017-05-12T07:09:21.370709500Z" />
< EventRecordID> 21820< / EventRecordID>
<频道>应用< /频道>
< Computer> eg-lp12044740.evopro.hu< / Computer>
< Security />
< / System>
< EventData>
< Data> devenv.exe< / Data>
< Data> 14.0.25420.1< / Data>
< Data> 57685d85< / Data>
< Data> unknown< / Data>
< Data> 0.0.0.0< / Data>
< Data> 00000000< / Data>
< Data> c0000005< / Data>
< Data> 00010010< / Data>
< Data> 1bec< / Data>
< Data> 01d2caeddcdbb565< / Data>
< Data> C:\Program Files(x86)\ Microsoft Visual Studio 14.0\Common7\IDE\devenv.exe< / Data>
< Data> unknown< / Data>
< Data> 0a49c40f-360f-436e-afdc-c57c786e3957< / Data>
< Data>
< / Data>
< Data>
< / Data>
< / EventData>
< / Event>

解决方案

嗨coaly,


欢迎来到MSDN论坛。


您是否对操作系统或VS 2015进行了更新?比如安装Windows更新,VS更新或VS扩展...看起来这个问题最近发生了,
对吗?


请参阅错误消息,我发现了类似的问题:
Visual Studio不断崩溃:应用程序错误
和请尝试使用以下方法来解决此崩溃问题:


  1. 运行命令:devenv / log c:/temp/vslog.txt以收集VS运行时日志并检查它是否包含任何错误或警告消息
  2. 运行命令:devenv / safemode to run vs有了安全模式并再次调试,它可以帮助我们合作确认安装的扩展是否导致此问题
  3. 删除VS组件模式缓存文件夹:%LOCALAPPDATA%\ Microsoft /\\VisualStudio \14.0 \ ComponentModelCache
  4. 查看是否有任何扩展/加载项/插件需要更新并首先更新它们以查看是否能解决您的问题。
  5. 重置VS设置:转到工具导入和导出设置... - 重置所有设置 - 是,保存我的当前设置 - 常规完成
  6. 删除任何*。*用户文件和解决方案用户选项文件(.suo)


同时,您可以转到控制面板 - 程序和功能,右键单击VS 2015,修改修复以修复VS,然后再次调试此应用程序。


如果此问题仍然存在,请将您收集的vs日志上传到
https://onedrive.live。 com / 并在此分享链接,它将帮助我们研究您的问题,谢谢您的合作。




祝你好运,


萨拉


I'm trying to debug a universal windows 8.1 app on a windows phone 8.1 device but 9/10 times I get an error: Visual Studio has stopped working. The same happens when I try to connect with Windows Phone Power Tools.

I have

  • Windows 10 Enterprise v1511
  • Visual Studio 2015 Update 3 v10.0.10586 build 10586
  • Nokia Lumia 620 with wp8.1 v8.10.14219.341

I got this from the event viewer:

<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
  <System>
    <Provider Name="Application Error" />
    <EventID Qualifiers="0">1000</EventID>
    <Level>2</Level>
    <Task>100</Task>
    <Keywords>0x80000000000000</Keywords>
    <TimeCreated SystemTime="2017-05-12T07:09:21.370709500Z" />
    <EventRecordID>21820</EventRecordID>
    <Channel>Application</Channel>
    <Computer>eg-lp12044740.evopro.hu</Computer>
    <Security />
  </System>
  <EventData>
    <Data>devenv.exe</Data>
    <Data>14.0.25420.1</Data>
    <Data>57685d85</Data>
    <Data>unknown</Data>
    <Data>0.0.0.0</Data>
    <Data>00000000</Data>
    <Data>c0000005</Data>
    <Data>00010010</Data>
    <Data>1bec</Data>
    <Data>01d2caeddcdbb565</Data>
    <Data>C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\devenv.exe</Data>
    <Data>unknown</Data>
    <Data>0a49c40f-360f-436e-afdc-c57c786e3957</Data>
    <Data>
    </Data>
    <Data>
    </Data>
  </EventData>
</Event>

解决方案

Hi coaly,

Welcome to the MSDN forum.

Did you make any update to your OS or VS 2015? Like install windows updates, VS update or VS extensions…It looks like this issue happened recently, right?

Refer to the error message, I found a similar issue: Visual Studio keeps crashing: Application Error and please have a try with the following methods to troubleshot this crash issue:

  1. Run the command: devenv /log c:/temp/vslog.txt to collect the VS runtime log and check if it contain any error or warning message
  2. Run the command: devenv /safemode to run vs with safe mode and debug it again, it can help us to confirm if the installed extensions caused this issue or not
  3. Delete the VS component mode cache folder: %LOCALAPPDATA%\Microsoft\VisualStudio\14.0\ ComponentModelCache
  4. See if any extensions/add-ins/plugins need updates and update them first to see if that fixes your problem.
  5. Reset VS settings: go to Tools-Import and Export Settings…-Reset all settings-Yes, save my current settings-General-Finish
  6. Delete any *.*user files and the solution user options file (.suo)

Meanwhile, you can go to Control Panel—Programs and Features, right click the VS 2015, Change-Repair to repair VS, then debug this application again.

If this issue persists, please upload the vs log that you collected to https://onedrive.live.com/ and share the link in here, it will help us to research your issue, thank you for your cooperation.

Best regards,

Sara


这篇关于尝试调试wp8.1时,Visual Studio停止工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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