Welcome to MSDN Blogs Sign in | Join | Help

Browse by Tags

All Tags » Debugging   (RSS)

HTTP debugging for Silverlight developers (Mac OS X edition)

Many posts have been written about how to debug problems with issuing HTTP requests from Silverlight applications, particularly in the context of web services and WCF (see for example Debugging Web Service Usage in Silverlight 2 or Faults and Exceptions

It's all about systems - even if you're testing only a component

Earlier this year I bought a brand new computer and wanted to play what turned out to be one of my favorite games of all times. However, it also turned out that this new computer of mine came with a pretty bad graphics card. It did work but the performance
Posted by ddietric | 1 Comments
Filed under: ,

How would you test a... C# code generator with Visual Studio Team Test

Introduction I spent some time this week thinking about how to test a code generator that generates C# code and is itself written in C# (so it's once again all about managed code). At first I thought about how to verify the generator output directly.

Setting up Silverlight 2 remote debugging on Mac OS X

Let's face it: Silverlight is awesome! So are the Visual Studio Tools for Silverlight. One reason why it is so awesome is that you can run your applications on Windows and Mac OS X. But what if you need to debug an application while it is running on a
Posted by ddietric | 3 Comments

Referenced assembly 'filename' is a localized satellite assembly (why it's not wise to ignore warning al1056)

Usually you should fix all warnings you see when building your code right away and personally I'm a big fan of treating warnings as errors. Here is one more reason: Marking an assembly with the AssemblyCulture attribute using a non-empty string will make
Posted by ddietric | 0 Comments
Filed under:

Fun with events and delegates

So how can you verify that a given class raises an event? Well, you can simply write some code that registers an event handler and then cause the target to raise that event. Now, how do you verify that a given class does actually handle an event raised

A good reason for calling GC.Collect()

You've probably heard that you should not call GC .Collect() and generally speaking this is absolutely correct. Yes, there are probably exceptions to that rule but unless you know for sure that calling GC .Collect() will improve the runtime behavior of
 
Page view tracker