Search code examples
silverlightwcf-ria-services

Can't set breakpoint in the class of DomainService


I can't set breakpoint in the class of DomainService while debugging silverlight OOB application.Sorry for the miss of image,i'm a new user.


Solution

  • If you press F5, it should normally work. Several problems could be the reason:

    • you have to start Visual Studio as administrator, because you attach to another process
    • check wheter the tag <compilation debug="true" /> is set in web.config

    You can also directly attach to the executing process. Depending on operating system it is normally w3p.exe.