Details
Description
I have written a code to parse a csv file into a list. When we run program with debugger attached the callee never returns to caller. Seems it gets stock in an infinite loop somewhere which can be destructors of locals. I guessed maybe the function is corrupting memory somehow which leads to different behavior with debugger present. Even in this case debugger should warn about the corruption.
When I run the same debug version with no debugger, program executes with no problem.