Hello. I am developing a desktop application in C # that performs a Serial Port routine (Writing, Reading, Capturing Information, Displaying this information). However, there are times when a Stack Overflow error appears, but each time it is on a different line
Error:
An unhandled exception of type 'System.StackOverflowException' occurred in System.Windows.Forms.dll
I took a good part of it already developed by another person who worked here in the company.
Follow the complete code in the link: link