简体   繁体   中英

Silverlight breakpoints not hit when hosted by an ASP.NET project

I'm using Visual Web Developer 2008 Express + Silverlight 3 Tools + Silverlight 3 Developer runtime, debugging in Firefox 3.6.8.

When I create a Silverlight project and let the IDE set up an ASP.NET site to host it, the breakpoints will not be hit. If I create a single Silverlight project it will be fine. Something must be wrong when the IDE is pairing the two projects together.

I've tried many solutions on the net, none of them worked. (clearing firefox cache, rebuilding solution, tweaking project properties, reinstalling SL Tools/Runtime, adding Debug="true" to aspx file, etc.) The *.pdb file is clearly in the same folder of the output *.xap file.

Anyway if anyone can point me a direction it will be really great!

(BTW, one of solution involves loading symbols manually through "Debug > Window > Modules" window, however I couldn't find this window in design time or debug time. Is this a feature exclusive to non-Express editions?)

EDIT: Problem solved. Turns out it's the incompatibility with FireFox. Changed a config value and started a brand new solution (older solution still had problem), it finally worked.

尝试在Internet Explorer中运行它-关于附加到firefox可能存在一些错误: http : //forums.silverlight.net/forums/t/755.aspx

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