locked
How to debug Silverlight in CRM 2011 RRS feed

  • Question

  • Hello,

    I found there are two ways to do, but neither works for me:

    1. Attach to Process.

    After loading XAP to CRM from, run remote debugger, run "Attach to Process" in VS2010. I didn't find iexplore.exe, silverlight process type.

    2. debug wthout deploying.

    I follow Markus Konrad link to do the setting. It looks I can do debug locally by hit F5. But since CRM form is not loaded, the values in silverlight code are not retrieved. For example: I use 

    App.Current.Host.InitParams["data"]

    to get parameter value. When I hit F5, all values from CRM form are null since it runs locally instead of connecting to form.

    Is there any way to debug it by running CRM form?

    I'm happy with either way as long as it works.

    Thanks.


    • Edited by howexg9 Tuesday, July 23, 2013 10:32 PM
    Tuesday, July 23, 2013 10:31 PM

Answers

  • Hi howexg9,

                    Silverlight runs on the client machine so no need to use the remote debugger. Use the local debugger in the development machine where you start IE and you should find the iexplore.exe to attach.

    Regards,
    Damian Sinay

    • Marked as answer by howexg9 Thursday, July 25, 2013 4:12 PM
    Wednesday, July 24, 2013 8:11 AM

All replies

  • Hi howexg9,

                    Silverlight runs on the client machine so no need to use the remote debugger. Use the local debugger in the development machine where you start IE and you should find the iexplore.exe to attach.

    Regards,
    Damian Sinay

    • Marked as answer by howexg9 Thursday, July 25, 2013 4:12 PM
    Wednesday, July 24, 2013 8:11 AM
  • Thanks Damian. Now I found silverlight iexplore.exe to attach, but it just can't stop at my breakpoint.
    Wednesday, July 24, 2013 3:49 PM