Click here to Skip to main content
15,886,199 members
Articles / Web Development / ASP.NET
Tip/Trick

Unable to DEBUG Silverlight Project?

Rate me:
Please Sign up or sign in to vote.
4.56/5 (6 votes)
24 Mar 2010CPOL 44.1K   3   12
What to do when you are unable to debug a Silverlight project
In this tip, you will see steps to help you if you are not able to debug a Silverlight project.

Today, I was looking at one of the client's Silverlight projects. I was able to debug anything but Silverlight code!

I did a lot of R&D on the internet and tried various tricks suggested. But only this thing worked for me:

When you add a Silverlight project to an ASP.NET solution, you create two projects…

  1. The startup project (interface starter)
  2. The interface itself

Now:

  1. Right click on the startup project (SilverlightWeb — the one with default.aspx in it )…
  2. Click on ‘Property Pages’.
  3. Open ‘Start Options’ Tab.
  4. Enable Silverlight Debugger.
  5. OK.

If step 3 is missing, then:

  1. There must be 'Silverlight Applications' tab. Open it.
  2. Click Add button, you will get a window to add the Silverlight projects.
  3. Add Silverlight interface.
  4. Enable Silverlight Debugging in options.
  5. Add it. Save.

History

  • 24th March, 2010: Initial version

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Architect Intuit India
India India


A software professional for more than 17+ years building solutions for Web and Desktop applications.

Currently working at Intuit India.

Website: Learn By Insight
Github: Sandeep Mewara
LinkedIn: Sandeep Mewara

Strongly believe in learning and sharing knowledge.



Comments and Discussions

 
Generalworked for me thanks a lot ! Pin
skerdreux23-Mar-11 1:10
skerdreux23-Mar-11 1:10 
GeneralRe: [Thanks!] Pin
Sandeep Mewara23-Mar-11 1:19
mveSandeep Mewara23-Mar-11 1:19 
[Thanks!]

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.