Feb 03 2010

Can’t attach Silverlight debugger when System.Windows.Browser.HtmlPage.Window.Navigate is used to open new window

If you can’t attach the debugger to a Silverlight application opened in new browser window using HtmlPage.Window.Navigate method then do the following:

  1. Go to Debug –> Attach to Process
  2. In Attach to Process dialog select process which host Silverlight application
  3. Click on “Select…” button under “Attach to:” section
  4. In Select Code Type window select “Debug this code type” option and uncheck all checkboxes except Silverlight
  5. Click OK –> Attach

Comments

2/10/2010 12:56:12 AM
Chris Horn
Chris Horn
I had this happen when I changed to Windows 7 and IE 8 with vs2008.

this problem disappears if you disable protected mode in IE8, as protected mode spawns a new IE process for each windows and tab so that ie8 crach's are isolated from each other.

I decided that the ability to debug without haveing to do extra stuff was easier for me.
2/11/2010 11:59:31 PM
Andrew Veresov
Chris, thanks for suggestion!

Add comment


(Will show your Gravatar icon)

biuquote
  • Comment
  • Preview
Loading