zoukankan      html  css  js  c++  java
  • 解决vs code just-in-time报错的方法

    引用 jejatnui的博客 以备以后参考

    最近给自己的电脑装了QTP9.2,结果在运行别的程序时,经常弹出“Visual Studio Just-In-Time Debugger” 对话框,内容是:“An unhanled win32 exception occurred in explorer.exe[2548]. just-in-time debuenabled. in visual studio,just-in-debugging can be enabled from tools/options/debugging/just-in-time.‘check the documentation index for ‘just-in-timedebugging,errors’for more information无论你选哪一项或直接关闭都会导致程序关闭。

      遇到这种问题首先肯定是上网搜索各种解决方法,但好像只有一种方法,点选[开始]>[执行],在“开启”对话框中键入以下指令:

      drwtsn32 -i

      点选[确定],这个指令将会把Dr.Watson设定成预设的Debugger工具,这样就不会让您每次都会跳出这样的错误讯息了。

      装完之后这个问题就没有再出现,不过网上也有人找不到drwtsn32这个程序。

      这里提高一下某位高手的解决方法,虽然没有试过,但是可以试试!!

      解决方法在CSDN博客中:http://blog.csdn.net/bright60/archive/2006/08/24/1111592.aspx

      出现这种情况,往往是因为原先安装有VS,后来因某些原因(比如:卸载)导致VS无法使用!!

      当系统中的有些软件出现错误时,会自动调用vs进行调试,但因为VS无法使用,就出现了visual studio just-in-time debugger窗口。

      此方法主要就是删除指定的注册表32位系统处理方法:use the registry editor to delete the following registry keys:

      HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionAeDebugDebugger

      HKEY_LOCAL_MACHINESOFTWAREMicrosoft.NETFrameworkDbgManagedDebugger

      64位系统处理方法:On a 64-bit operating system also delete the following registry keys:

      HKEY_LOCAL_MACHINESOFTWAREWow6432NodeMicrosoftWindows NTCurrentVersionAeDebugDebugger

      HKEY_LOCAL_MACHINESOFT

      用vbs写:

      Set WshShell=CreateObject(“Wscript.Shell”)

      WshSHell.RegDelete “HKEY_LOCAL_MACHINESOFTWAREWow6432NodeMicrosoftWindows NTCurrentVersionAeDebugDebugger”WshSHell.RegDelete “HKEY_LOCAL_MACHINESOFTWAREWow6432NodeMicrosoft.NETFrameworkDbgManagedDebugger”msgbox “sucsess”

  • 相关阅读:
    【vue】------ 路由创建 ------ 【William】
    【vue】------------@vue/cli3.7.0创建项目+ts-------------【William】
    【svn】--------------svn介绍------------------【William】
    【vue】------浅谈vue------【William】
    node创建服务器
    vue项目搭建
    利用vw做rem适配(纯css)
    nodejs实现md5和SHA256加密
    Cookie、session、localStorage、sessionStorage的区别
    tpc三次握手与四次挥手
  • 原文地址:https://www.cnblogs.com/fashow/p/15111039.html
Copyright © 2011-2022 走看看