I'm wondering if anyone can think of a generic reason why visual studio 2010 would act in the following mannor.
If I run my code using ctrl + F5 (run without debugging option) it works fine and as expected.
However if I run it in debug mode it acts oddly, sometimes just not returning results as expected, and other time reporting this exception ...
... "Exception of type 'System.ExecutionEngineException' was thrown."
The line that seems to be causeing the problem is a method imported from a custom win32 library.
I'm asking in this fashion in case this is a known problem with visual studio, before I start trying to reproduce a snippet which causes the problem.
Cant find much about the exception in a search, at least within my understanding. I'd appreciate any insights offered.