Is it possible to completely ignore a catch block when debugging?

Viewed 2172

I'm working within WinForms (.net 3.5), and have the following line of code:

     HitTestResult result;
     try
     {
        result = this.HitTest( e.X, e.Y, ChartElementType.DataPoint);
     }
     catch(Exception e)
     {
        //This happens, we don't care!
     }

I have no control over whether HitTest throws an exception, but if it does, I absolutely do not care.

Is it possible to disable my IDE from halting at this SPECIFIC catch block? I understand I can disable the System.FormatException it may throw (from the Debug->Exceptions menu, but that's kind of overkill.

Thanks!

7 Answers
Related