Sandeep Mewara">
Click here to Skip to main content
15,389,594 members
Articles / Web Development / ASP.NET
Tip/Trick
Posted 24 Mar 2010

Tagged as

Stats

41.3K views
3 bookmarked

Unable to DEBUG Silverlight Project?

Rate me:
Please Sign up or sign in to vote.
4.56/5 (6 votes)
24 Mar 2010CPOL
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)

Share

About the Author

Sandeep Mewara
Software Developer (Senior) Intuit India
India India

Comments and Discussions

 
SuggestionIE settings Pin
Mr5m1th26-Aug-14 6:16
MemberMr5m1th26-Aug-14 6:16 
GeneralRe: IE settings Pin
Sandeep Mewara31-Aug-14 3:05
mveSandeep Mewara31-Aug-14 3:05 
GeneralMy vote of 5 Pin
Savalia Manoj M7-Nov-12 1:17
MemberSavalia Manoj M7-Nov-12 1:17 
GeneralRe: My vote of 5 Pin
Sandeep Mewara8-Nov-12 18:48
mveSandeep Mewara8-Nov-12 18:48 
QuestionDidn't work for me :-( Pin
Iluminar Magician16-Oct-12 8:22
MemberIluminar Magician16-Oct-12 8:22 
AnswerRe: Didn't work for me :-( Pin
Sandeep Mewara17-Oct-12 5:35
mveSandeep Mewara17-Oct-12 5:35 
GeneralRe: done :-) Pin
skerdreux23-Mar-11 1:22
Memberskerdreux23-Mar-11 1:22 
GeneralRe: done :-) Pin
Sandeep Mewara17-Oct-12 5:37
mveSandeep Mewara17-Oct-12 5:37 
Generalworked for me thanks a lot ! Pin
skerdreux23-Mar-11 1:10
Memberskerdreux23-Mar-11 1:10 
GeneralRe: [Thanks!] Pin
Sandeep Mewara23-Mar-11 1:19
mveSandeep Mewara23-Mar-11 1:19 
GeneralReason for my vote of 5 This worked for me Pin
Vaibhav Gawali13-Mar-11 1:44
MemberVaibhav Gawali13-Mar-11 1:44 
GeneralRe: Reason for my vote of 5This worked for me Pin
Sandeep Mewara17-Oct-12 5:38
mveSandeep Mewara17-Oct-12 5:38 

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.