In this piece of code (runs in a unit test under debugging)
try
{
    var process = Process.GetProcessById(ProcessID);
    _isRunningCache = WindowHandle != IntPtr.Zero
                 && User32.IsWindow(WindowHandle) && !process.HasExited
                 && process.Responding;
}
catch
{
    return Invalidate();
}
I receive a report for an exception occurred (I do have reporting of u开发者_StackOverflownhandled exceptions enabled), but nevertheless visual studio interrupts the process and reports the exeption in the following manner:

What can I do to prevent this? (despite disabling reporting of unhandled exceptions)
Go to Debug -> Exceptions and deselect any checkboxes in the 'Thrown' column.
Ensure the 'User-unhandled' is checked for Common Language Runtime Exceptions.
 
         
                                         
                                         
                                         
                                        ![Interactive visualization of a graph in python [closed]](https://www.devze.com/res/2023/04-10/09/92d32fe8c0d22fb96bd6f6e8b7d1f457.gif) 
                                         
                                         
                                         
                                         加载中,请稍侯......
 加载中,请稍侯......
      
精彩评论