You can show your code. Also, it is possible that you have an issue in both Release and Debug configurations when running our of Shell, not hosted by the VS. You need to check this. If you encounter problem only outside of VS, this is a bigger problem, as you cannot use Debugger You need to catch all exceptions in every thread and obtain complete exception dump. Usually it helps.
Use my instruction on how to do it:
How do i make a loop that will stop when a scrollbar reaches the bottom[
^]
When i run an application an exception is caught how to handle this?[
^]
Additionally, try to handle
System.AppDomain.FirstChanceException
and
System.AppDomain.UnhandledException
(credit to Espen Harlinn for the idea).
—SA