Using Visual Studio you can attach to an instance of your browser that has a Silverlight application running from the server (IIS). This is very useful especially since unexpected problems can occur once you deploy and run your application on the server; problems that you normally won’t see when you just run locally on your box.
To accomplish this open up Visual Studio.
From the menu select Tools->Attach to process (Ctrl+Alt+P). This will bring up the following dialog.
The trick here is to understand what instance of your browser to attach to. With IE, you will see multiple instances of iexplorer.exe. Make certain to select the one that has “Type=Silverlight, x86” (circled red above). A common mistake is to select the instance of IE that has the title of your application in it. This is actually the tab of IE and not the parent IE process.
Once IExplorer.exe is selected click the “Select…” button above and choose code type = Silverlight.
Finally click the “Attach” button process and you are good to go!
Thanks,
–Mike







Thanks, nice tip:)