Sonet,
Before I can give you an answere I'll need more specifics on your program: What port are you reading from? and what function do you use to read from it? do you see this behaviour in release mode also?
Sounds to me that you are runnign into a breackpoint when you read a string, but please reply with some specifics.
Regards,
Juan Carlos
N.I.