简体   繁体   中英

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. 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 . 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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM