[英]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.