Powered by MSDN

US - English
NEW! Silverlight 5 is available Learn More

  • spinoza

    spinoza

    Member

    36 Points

    15 Posts

    Re: Remote Debugging Frustrations

    May 21, 2008 02:22 PM | LINK

    I think the fundamental problem is my inability to get my head around all the parts of this process and how those parts work together. Let me describe what my structure is in an attempt to answer your question.I have a VS 2008 solution comprised of a Silverlight 2.0 project and a remote web site project that contains at .xap file and among other pages a testpage.aspx that refers to the .xap.The web project also contains a .cs file with database connections in the app_code and a .svc service that is linked by a Service Reference in the Silverlight app.All this works as expected. Miraculously. Now let’s say I want to set a breakpoint in the .cs file in the web project. This .cs file is populating the the Silverlight application text box with some data from a DB. How do I use msvsmon.exe in this case. What process do I attach to on the remote server where the web application is running.Since the Silverlight files are on my local machine I can put a break point in the page.xaml.cs and almost get there but because the .xap is on the web site it creates its own .xap and I run into a crossdomain error and can't step thru it.

    Thanks for your help so far

    Spin