Click here to Skip to main content
11,494,809 members (61,802 online)
Click here to Skip to main content

Tagged as

Unable to DEBUG Silverlight project?

, 24 Mar 2010 CPOL 23.3K 3
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...
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

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.

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)
India India
Current location: Bangalore, India.
Follow on   Twitter

Comments and Discussions

 
SuggestionIE settings Pin
Mr5m1th26-Aug-14 7:16
memberMr5m1th26-Aug-14 7:16 
GeneralRe: IE settings Pin
Sandeep Mewara31-Aug-14 4:05
mvpSandeep Mewara31-Aug-14 4:05 
GeneralMy vote of 5 Pin
Savalia Manoj M7-Nov-12 2:17
memberSavalia Manoj M7-Nov-12 2:17 
GeneralRe: My vote of 5 Pin
Sandeep Mewara8-Nov-12 19:48
mvpSandeep Mewara8-Nov-12 19:48 
QuestionDidn't work for me :-( Pin
Iluminar Magician16-Oct-12 9:22
memberIluminar Magician16-Oct-12 9:22 
AnswerRe: Didn't work for me :-( Pin
Sandeep Mewara17-Oct-12 6:35
mvpSandeep Mewara17-Oct-12 6:35 
GeneralRe: done :-) Pin
skerdreux23-Mar-11 2:22
memberskerdreux23-Mar-11 2:22 
GeneralRe: done :-) Pin
Sandeep Mewara17-Oct-12 6:37
mvpSandeep Mewara17-Oct-12 6:37 
Generalworked for me thanks a lot ! Pin
skerdreux23-Mar-11 2:10
memberskerdreux23-Mar-11 2:10 
GeneralRe: [Thanks!] Pin
Sandeep Mewara23-Mar-11 2:19
mvpSandeep Mewara23-Mar-11 2:19 
GeneralReason for my vote of 5 This worked for me Pin
vaibhav_gawali13-Mar-11 2:44
membervaibhav_gawali13-Mar-11 2:44 
GeneralRe: Reason for my vote of 5This worked for me Pin
Sandeep Mewara17-Oct-12 6:38
mvpSandeep Mewara17-Oct-12 6: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 | Terms of Use | Mobile
Web03 | 2.8.150520.1 | Last Updated 24 Mar 2010
Article Copyright 2010 by Sandeep Mewara
Everything else Copyright © CodeProject, 1999-2015
Layout: fixed | fluid