From time to time we are getting a Win32Exception: The wait operation timed out from somewhere inside our application. The big issue we are facing is that these exceptions contain no stacktrace, so we have no idea where they are coming from. We suspect that it might be related to EntityFramework and some heavy query, but with no stacktrace, there is no way to know which one it is.
Trying to catch the exception first-chance sadly does not help either. The exception is first caught inside our unhandled exception handler.
Has anyone ever encountered an exception like this? How do you debug it without knowing where it is coming from?