admin管理员组文章数量:1201025
About 2 weeks ago, I lost the ability to debug JavaScript. I have Windows 8 Pro, IE 10 and Visual Studio 2012 with all updates installed. Until that time, I had no issues - now it does it on every project.
The message I get is...
"No Source Available. The current code thread is not currently running code or the call stack could not be obtained"
Any suggestions as to how I get my JavaScript debugger back? I have already tried do a repair and a re-install with no success.
Thanks in advance for any help.
About 2 weeks ago, I lost the ability to debug JavaScript. I have Windows 8 Pro, IE 10 and Visual Studio 2012 with all updates installed. Until that time, I had no issues - now it does it on every project.
The message I get is...
"No Source Available. The current code thread is not currently running code or the call stack could not be obtained"
Any suggestions as to how I get my JavaScript debugger back? I have already tried do a repair and a re-install with no success.
Thanks in advance for any help.
Share Improve this question edited Dec 16, 2012 at 12:28 Gfw asked Dec 16, 2012 at 12:23 GfwGfw 6698 silver badges18 bronze badges 3 |5 Answers
Reset to default 17I had the same problem using VS 2012 after installing IE 10 on Win 7 64bit. I tried several things including "fixing" VS, uninstalling/reinstalling IE10. I couldn't get VS to be set breakpoints in javascript for anything.
What finally worked was in VS 2012 I clicked on the "Play" toolbar button (little green arrow pointing right) and had two items listed for Internet Explorer, one being the default. At the bottom of the drop down from that button, I selected "Browse With" which brought up a dialogue box which let me delete one of the two IE's. I also selected Chrome and then back to IE which may have had an impact. In any case, after doing that, everything is working again.
I kept playing and removed KB2781514, did a repair on VS2012 and got the JavaScript debugger back - all seems to now work, but I'm really afraid to install that update.
I also turned off automatic updates and will make sure that I set a restore point before adding most any future update.
Try the solution form this post - VS2010 and IE10 Attaching the Script debugger to process iexplore.exe failed
- Close IE
In elevated cmd prompt run this command:
regsvr32.exe "%ProgramFiles(x86)%\Common Files\Microsoft Shared\VS7Debug\msdbg2.dll"
or
%ProgramFiles% on a 32-bit OS
Restart VS & IE. I restarted the machine to be sure.
I have had this same problem with VS2010 and VS2012 on WIN7 + IE10 CTP back in December last year. I hoped this problem was solved in the RTM version of IE10, today I found out it was not (and probably because it's not a IE10 problem).
Checkout my answer in the link below, maybe it's working for you as well.
VS2010 and IE10 Attaching the Script debugger to process iexplore.exe failed
I have the same error with Windows8 + IE10 + VS2012 Update 1, but today I was update vs2012 with Update 2 and the problem is solved.
VS2012 Update 2 here
本文标签: debuggingVS2012 Lost JavaScript DebuggerStack Overflow
版权声明:本文标题:debugging - VS2012 Lost JavaScript Debugger - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1738535285a2094406.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
debugger
statement in your script? – Frédéric Hamidi Commented Dec 16, 2012 at 12:27