Clipboard Debugging
- by Jake Pearson
In the olden times of .NET 1.1, I could use the SoapFormatter to find out exactly what was getting serialized when I copied an object into the clipboard.
Fast forward to 2010, and I tried to do the same trick. It turns out the SoapFormatter does not support generics. Is there an alternative way to find out exactly what binary objects are serialized into the clipboard?
For example lets say I have this class:
public class Foo
{
public List<Goo> Children;
}
If I send an instance of it to the clipboard, I would like to take a look at what is in the clipboard to see if it's children list was included or not.
Update: I was finally able to find the over copied field with the debugger. Visual Studio did it's job.