المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : Debug vs. Release



C# Programming
11-04-2009, 07:21 PM
Hi all,

I have a simple serial port application in which I am listening to serial port and displaying all the data which is received to a richtextbox. My Question is;
When i build the application and run in "Debug" configuration I get "The I/O operation has been aborted because of either a thread exit or an application request" exception at serialPort.ReadExisting() transaction.

However when I build the application in "Release" Configuration I never see this exception.

In my opinion there is no reason for the exception, but unfortunately I get it in debug mode. Any ideas?

Kind Regards
zafer