No Symbols Loaded - Debugging Silverlight App in ASPX Page

I was once assigned to an ongoing silverlight project with Dynamic CRM integration with no technical documentation and was oriented only on the basics. Being an inquisitive person but couldn't get much help from the original team of developers (offshore), what I did was to examine the flow in debug mode. It's an expensive approach but leaves me no choice.

The project was done using MVC approach, consist of several projects, silverlight RIA and class libraries. The normal procedure of debugging by attaching several instances of iexplore.exe (being internet explorer as the default browser for testing) from the processes works fine, some symbols are loaded, but some are not. This is the same problem the original developer have faced and neither him has answer. I've searched for solutions but found none. I tried looking under Debug, Windows, Modules but the dependency library is nowhere to be found.

The asp.net project, which is the main part of loading the silverlight project, was configured to use static port (right click on web project, select under properties window), and was predefined on IIS and gets published each time the project is rebuilt. I decided to break this pattern by loading the asp.net page from within visual studio (instead of directly invoking it thru internet explorer and attaching to process), but first (1) stop the web application in IIS, (2) then right click on the asp.net project and set it as the startup project, and (3) click debug, voila!, all symbols are loaded.






No comments:

Post a Comment