InertiaM
Well-known member
I've been trying to eradicate all first chance exceptions, to ensure all errors are properly accounted for. However, when I close my program, I still have two First Chance exceptions :-
As far as I knew, all my many threads are closed properly, but obviously not. I have tried to find the 'error' by using breakpoints, but to no avail. I tried setting Debug - Exceptions - CLR Exceptions - System.Threading - Thrown to Checked, but this doesnt fire.
I know First Chance exceptions are not awful, but given that some of my threads involve COM port communication, it would be good to close all thread properly, hence trying to find them.
Suggestions please :tennis:
A first chance exception of type 'System.Threading.ThreadAbortException' occurred in System.dll
A first chance exception of type 'System.Threading.ThreadAbortException' occurred in (program name)
As far as I knew, all my many threads are closed properly, but obviously not. I have tried to find the 'error' by using breakpoints, but to no avail. I tried setting Debug - Exceptions - CLR Exceptions - System.Threading - Thrown to Checked, but this doesnt fire.
I know First Chance exceptions are not awful, but given that some of my threads involve COM port communication, it would be good to close all thread properly, hence trying to find them.
Suggestions please :tennis: