hexadecimate

What's a wedding? Webster's dictionary describes it as the act of removing weeds from one's garden.

Debugging Silverlight in Firefox, Safari

If you’re already familiar with attaching to processes in Visual Studio (or WinDbg), this is nothing new. However, I’ve seen this question come up a few times—particularly with people coming over from competing technologies.

In Visual Studio, just select the “Attach to process” option (available in the Debug or Tools menu, depending on your workspace view) and select the type of code you want to debug, Silverlight in this case, and the process you want to debug.  This applies to any process that is hosting a Silverlight instance.

You should be aware that this general advice applies to all sorts of applications.  For example, if you want to debug the behavior of your Silverlight control library during design-time operations, you could use one instance of the debugger to attach to the application that is rendering the design surface.  (E.g., attach to Blend or event to another instance of Visual Studio.)

Attach to Firefox process

Posted: Nov 13 2008, 00:19 by warren | Comments (0) RSS comment feed |
  • Currently 4/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Firefox loads localhost resources slowly

If while debugging your Silverlight application using the Visual Studio web development server, you notice Firefox is painfully slow to load any resource, you might want to disable IPv6 support.  This should get Firefox (<=3) working on par with Safari, IE, et al.. 

  1. Open Firefox
  2. Navigate to “about:blank”
  3. Find the entry for “network.dns.disableIPv6” and set it to false.

Now try loading your local development site!  This applies to the general case of Firefox loading anything from localhost.

Posted: Nov 13 2008, 00:14 by warren | Comments (0) RSS comment feed |
  • Currently 3/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5
Filed under: Debugging | Firefox | Silverlight