I have created a silverlight app using WCF RIA Services and Entity Data Model.
In mainPage.xaml page I have dropped a button and on click of that button certain operation is performing.I have put a breakpoint on button click event, but its not hitting the breakpoint when I am clicking the button.
Kindly help regarding the same!!!
Than开发者_如何学Cks Piyush
You need to enable "Silverlight" debugging in the web project.
Open the "Properties" of the web project and goto page "Web". In the section "Debuggers" check the Checkbox "Silverlight".
Another problem could be, that your current build configuration is set to "Release". Change it to "Debug".
This behavior can be caused by XAP file being opened (in some ZIP viewer) while building your solution. Visual Studio is quiet about not being able to replace the old XAP with new one and your breakpoints will be "out of sync".
精彩评论