I inherited a legacy Winforms/C# application. The app uses several different grids spread across multiple tabs. In order the speed up load time/query performance, fetching data to for data sources is done asynchronously through spawned threads.
When running the application in Visual Studio 2019, I get several cross thread exceptions as the system fires events when the data sources are set/reset. These events of course fire on events which are not on the main UI thread.
I only see these exceptions while debugging in Visual Studio. I know in years past it was a BAD IDEA/DESIGN to do so and whenever we came across instances, we would wrap access with Invoke()/BeginInvoke().
Given these exceptions get "eaten" when running the application outside of Visual Studio, is this still the case? .. or is it considered a benign/safe exception?