Keeping track of interesting places I put my feet on in the software development world.
Search This Blog
Showing posts with label Threads. Show all posts
Showing posts with label Threads. Show all posts
Monday, August 26, 2019
Monday, June 25, 2018
Unexpected results with no exceptions being thrown - apparently
If you are facing undesired results or strange behaviors, but are not spotting any exception in run time - make sure you checked all the Common Language Runtime Exceptions in Debug -> Exception Settings.
I was facing an InvalidOperationException due to unsafe cross thread access.
But it was only when I instructed VS to break on all exceptions from the CLR, then I finally got the hint of where/who was raising the exception.
I was facing an InvalidOperationException due to unsafe cross thread access.
But it was only when I instructed VS to break on all exceptions from the CLR, then I finally got the hint of where/who was raising the exception.
Subscribe to:
Posts (Atom)