简体   繁体   English

由于未加载符号,断点未命中

[英]Breakpoint not getting hit due to symbols not been loaded

I am trying to debug an issue with my JavaScript based Windows 8 Store app related to search activation. 我正在尝试调试与搜索激活相关的基于JavaScript的Windows 8 Store应用程序的问题。 I have re-build and deployed again on my machine but for some reason the breakpoint in the activated method is not getting hit. 我已经重新构建并再次部署到我的机器上,但是由于某种原因,激活方法中的断点没有受到影响。 It shows me message that "The breakpoint will not currently get hit. No symbols have been loaded for this document". 它向我显示一条消息:“该断点当前不会被命中。没有为该文档加载任何符号”。 Any idea what I may be doing wrong here? 知道我在这里做错了什么吗?

在此处输入图片说明

My guess is that you're set to debug managed code and not script. 我的猜测是您已设置为调试托管代码而不是脚本。 Sometimes also being set to debug both managed and script will also cause this behavior. 有时同时设置为调试托管脚本和脚本也将导致此行为。

In your HTML project's properties, navigate to the Debugging section and select Script Only . 在HTML项目的属性中,导航到“ 调试”部分,然后选择“ 仅脚本” Please note that this will disable Managed code debugging, so you have to choose between debugging managed libraries or Scripts at a time. 请注意,这将禁用托管代码调试,因此您必须一次在调试托管库或脚本之间进行选择。 The following screenshot shows this setting. 以下屏幕截图显示了此设置。

在此处输入图片说明

Image/parts of the steps borrowed from this post: http://www.silverlightrecipes.com/2012/04/windows-8-quick-tip-debugging-managed.html 从该帖子中借用的图片/部分步骤: http//www.silverlightrecipes.com/2012/04/windows-8-quick-tip-debugging-managed.html

暂无
暂无

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

相关问题 断点当前不会被命中。 没有在JavaScript中为此文档加载任何符号 - The breakpoint will not currently be hit. No symbols have been loaded for this document in JavaScript 断点当前不会被击中。 没有加载任何符号 - The breakpoint will not currently be hit. No symbols have been loaded 断点当前不会被命中。 与2013 javascript相比,此文档未加载任何符号 - the breakpoint will not currently be hit. no symbols have been loaded for this document vs 2013 javascript 断点当前不会被命中。 Windows Phone 8.1 phonegap应用程序中没有为该文档加载任何符号 - The breakpoint will not currently be hit. No symbols have been loaded for this document in Windows Phone 8.1 phonegap apps 断点当前不会被击中。已调试的进程已加载不同版本的脚本文件 - The breakpoint will not currently be hit. A different version of script file has been loaded by debugged process Visual Studio Javascript BreakPoint没有被击中,为什么? - Visual Studio Javascript BreakPoint not getting hit, why? Firebug - 断点没有击中 - Firebug - Breakpoint doesn't hit 没有为此文档加载任何符号。 无法在 Visual Studio Code 中调试 Javascript - No symbols have been loaded for this document. Can't debug Javascript in Visual Studio Code 加载 Javascript 后获取 HTML 代码 - Getting the HTML code after Javascript has been loaded JavaScript断点未命中的原因可能是什么? - What can be the reasons for JavaScript breakpoint is not hit?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM