Skip to main content

Microsoft Silverlight

Answered Question Debugging Silverlight App hosted in Sidebar GadgetRSS Feed

(0)

MurDoGG
MurDoGG

Member

Member

12 points

28 Posts

Debugging Silverlight App hosted in Sidebar Gadget

Hi guys, 

 is there a possibility to debug a silverlight app which hosted in a sidebar gadget in visual studio?!

 Thx a lot

 MurDoGG

Roet
Roet

Member

Member

211 points

65 Posts

Answered Question

Re: Debugging Silverlight App hosted in Sidebar Gadget

Yes you can. The way I did it is to just publish to the gadget folder, then install the app via the sidebar and run it. Then, in Visual Studio, go to "Debug" > "Attach to Process" and you will see the instance of your sidebar gadget there. 

If this post helped you, please mark it as answer! It helps other people too.

MurDoGG
MurDoGG

Member

Member

12 points

28 Posts

Re: Re: Debugging Silverlight App hosted in Sidebar Gadget

 Thx a lot. Thats the way to do.

But i want to attche that you have to choose the Type you want to debug, like manged code, silverlight, sctipt, ...

 Kind regards

Roet
Roet

Member

Member

211 points

65 Posts

Re: Re: Debugging Silverlight App hosted in Sidebar Gadget

At the "Attach to process"-window, you can decide that. By clicking the "Select" button at the "Attach to:" part. It is just above the list of available processes. A picture of the dialog box:

http://www.arkhipov.com/Blog/CrashDump/AttachToProcess.png

If this post helped you, please mark it as answer! It helps other people too.
  • Unanswered Question
  • Answered Question
  • Announcement
Microsoft Communities