Click here to Skip to main content
Click here to Skip to main content

Unable to DEBUG Silverlight project?

By , 24 Mar 2010
Rate this:
Please Sign up or sign in to vote.
Today I was looking at one of the client's Silverlight projects. I was able to debug anything but Silverlight code!
I did so much 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 2 projects…
A. the startup project (interface starter)
B. the interface itself
  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.


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

About the Author

Sandeep Mewara
Software Developer (Senior)
India India
Current location: Bangalore, India.
Follow on   Twitter

Comments and Discussions

GeneralMy vote of 5 PinmemberSavalia Manoj M7-Nov-12 1:17 
GeneralRe: My vote of 5 PinmvpSandeep Mewara8-Nov-12 18:48 
QuestionDidn't work for me :-( PinmemberIluminar Magician16-Oct-12 8:22 
AnswerRe: Didn't work for me :-( PinmvpSandeep Mewara17-Oct-12 5:35 
GeneralRe: done :-) Pinmemberskerdreux23-Mar-11 1:22 
GeneralRe: done :-) PinmvpSandeep Mewara17-Oct-12 5:37 
Generalworked for me thanks a lot ! Pinmemberskerdreux23-Mar-11 1:10 
GeneralRe: [Thanks!] PinmvpSandeep Mewara23-Mar-11 1:19 
GeneralReason for my vote of 5 This worked for me Pinmembervaibhav_gawali13-Mar-11 1:44 
GeneralRe: Reason for my vote of 5This worked for me PinmvpSandeep Mewara17-Oct-12 5:38 

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

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

| Advertise | Privacy | Mobile
Web03 | 2.8.140415.2 | Last Updated 24 Mar 2010
Article Copyright 2010 by Sandeep Mewara
Everything else Copyright © CodeProject, 1999-2014
Terms of Use
Layout: fixed | fluid