Uncaught exception

I occasionally get this:

I am guessing the garbage collector is collecting something that you end up using later.

Try disabling the “just my code” debugging option. Then, you might get more info on exception…

To enable or disable Just My Code in Visual Studio, under Tools > Options (or Debug > Options ) > Debugging > General , select or deselect Enable Just My Code .