The Media Center Sandbox

Resources and discussion for developing experiences in the Windows Media Center platform.
Welcome to The Media Center Sandbox Sign in | Join | Help
in Search

any tips on debugging in XBAP

Last post 01-19-2007, 4:34 PM by kcchesnut. 2 replies.
Sort Posts: Previous Next
  •  01-19-2007, 7:58 AM 1521

    any tips on debugging in XBAP

    i've followed the steps in the SDK, but i never managed to hit any breakpoints when debugging hosted XBAP in MCE. also tried the steps from an older post on Aaron Stebner's blog ... still no luck.

    one thing is that when i start debugging on the VS.NET project, a dialog popus up saying that it did not load the symbols for PresentationHost.exe ... is this expected? then when i open the .mcl file from the VS 2005 command prompt, it doesn't hit any of my breakpoints. NOTE that i have been running mage -cc to clear the cache.

    so far i've been debugging by creating a separate non-MCE XBAP project, debugging there, and then making the changes in the MCE XBAP project.

    Thanks, casey

  •  01-19-2007, 12:42 PM 1522 in reply to 1521

    Re: any tips on debugging in XBAP

    Hi,

    I've had exactly the same problem too!..  I know all the debugging worked fine with Vista RC2 / VS2005 - but since I upgraded to RTM + VS2005 SP1 - the debugging stopped working. (I suspect the VS2005 SP1 is the problem here as I can't imagine what changed between RC2 to RTM).

    I leiu of some sort of fix for this - you may need to move your project back to WinXP (or a pre SP'd VS2005) to get the full debugging going. Otherwise you can use some more cumbersome techniques like file/event logging to work out where problems are (which is not really suitable if you are writing complex code from scratch).

    If you find out what's causing this (I haven't bothered to ask any 'official' sources for a workaround) - please update this thread. Also - if you are getting this issue without VS2005 SP1 installed - please let us know (so at least we can rule out SP1 as an issue).

    cheers

    Niall

     

  •  01-19-2007, 4:34 PM 1525 in reply to 1522

    Re: any tips on debugging in XBAP

    glad i'm not the only one. i am using Vista RTM with VS2005 SP1

    Thanks, casey

View as RSS news feed in XML
Powered by Community Server, by Telligent Systems