Powered by MSDN

US - English
NEW! Silverlight 5 is available Learn More

Silverlight Debugging in VS 2008 RSS

6 replies

Last post Nov 08, 2010 05:11 PM by mwentzel

(0)
  • kidrocks45

    kidrocks45

    Member

    2 Points

    3 Posts

    Silverlight Debugging in VS 2008

    Feb 19, 2008 06:10 PM | LINK

    I can't get the debugger in VS 2008 (Pro. Ed) to recognize any break points in my silverlight v1.1 code, not from the constructor, event handlers and all the hacks I've read(add Asp.net web app, IE etc) doesn't solve the problem. The debugger works fine for other project types, what am I missing here?

  • johndavidwood

    johndavidwood

    Member

    44 Points

    17 Posts

    Re: Silverlight Debugging in VS 2008

    Feb 19, 2008 07:25 PM | LINK

    Only thought I have is to check the Properties of your Silverlight project, looking at the "Web" tab....it provides a special option to enable Silverlight debugging (which apparently turns off the browser script debugging).  The first time I ran the Silverlight app a dialog box popped up asking me whether I wanted to enable "Silverlight debugging", and when I answered "Yes" it seems to have enabled that option.  Other than that, there are a bunch of debug related definitions on the "Build" tab as well.  However, I didn't have to change any of those.  I am having success with debug working in a combined web service and Silverlight solution.

  • bluearc

    bluearc

    Participant

    1484 Points

    325 Posts

    Re: Silverlight Debugging in VS 2008

    Feb 20, 2008 02:06 PM | LINK

    Yes, John is right..

    you can also do this..

    create Silverlight project

    create ASP.net project 

    in one solution..

    add silverlgiht link to asp.net proj.. by right clicking on the asp.net project and selecting the "Add silverlight Link"..

    when you will run your silverlight pages from asp.net project .. for the first time.. it will ask , you  that you want to debug or not.. if you select yes.. then you can put break points inoyur silverlight .

    :)

    "If this answer helps you then mark it as answered"

    Ravi Kant Srivastava
    (Application Developer)
    Scope Technology
    India/South Africa
  • gazier20

    gazier20

    Member

    73 Points

    99 Posts

    Re: Re: Silverlight Debugging in VS 2008

    Feb 25, 2008 06:08 PM | LINK

    Don't forget to use Internet Explorer and not firefox. I searched a while before to understand that it was only a problem with the browser.

    Set internet explorer as the default browser. Don't copy the url in firefox, in internet explorer. It doesn't work too.

    [:D] 

  • punkouter

    punkouter

    Member

    6 Points

    33 Posts

    Re: Re: Re: Silverlight Debugging in VS 2008

    Jul 08, 2008 10:07 PM | LINK

    I am having this problem. What if all the projects are created already. I went to proerties and checked silverlight debugging and its still not stopping :(

     

    Looking for ASP.NET/SL/XNA programmers to chat with on LIVE MESSENGER. Add me punkouter@hotmail.com
  • sandeep.extreme

    sandeep.extreme

    Member

    18 Points

    20 Posts

    Re: Re: Silverlight Debugging in VS 2008

    Dec 29, 2009 03:56 PM | LINK

    The pop came and I pressed 'NO' ... Please tell me how to enable it..
    Sandeep Ghosh
    www.soulware.tk
  • mwentzel

    mwentzel

    Member

    2 Points

    1 Post

    Re: Re: Silverlight Debugging in VS 2008

    Nov 08, 2010 05:11 PM | LINK

    For anyone looking for the answer to the above question just go to your web apps properties page and select Application then check Silverlight under Debuggers.