I have an application developed in CVI 6 under Win XP Pro (SP1) that uses the RS232 library. I'm using callbacks to capture RS232 events.
From time to time my computer freezes when debugging the application leaving me the only option to reboot by using a hardware RESET. It seems that the debugging support and RS232 library randomly interfere somewhere at the kernel level killing the system message processing and consequently freezing the system. However, if the callback is not installed or the COM port isn't opened at all, I can debug the application without problems. This points out to the way the callback function is handled in debug mode (mostly when the program stops at a breakpoint and try to resume execution).
I mention that other applications (that do not use RS232 library) work fine and they never exhibited this problem in debug mode.
I didn't try the same thing on a different platform (e.g. Win 2k, Win NT, Win ME/98).
Any advice (or comment) on this is welcome.