I've spent too much time today trying to figure this out, so I'm hoping this will sound familar to somebody on this list.
A customer sent me a file produced with my application that exhibits an unusual problem which I stumbled upon while trying to troubleshoot the issue he was experiencing. When I read from the file while observing values in the debugger, the file reading gets stuck at a particular position in the BinaryStream. It only happens if the debugger is open. A few more details that might be helpful: The file is a VirtualVolume with a few different folders that contain, among other things, individual data files for different "projects". It is while reading one of these project data files that the BinaryStream position gets stuck. It only happens while reading a particular project file in this customer's file that this problem occurs, others seem fine. The application was built with RB 5.5.5. But the problem also occurs if I run the project with RB 2006R3 or R4. One more unusual detail that is probably a good clue. The BinaryStream makes it last advance on a call to ReadSingle, where instead of advancing 4 bytes (the size of a single), it advances 3 bytes. Anybody have any clue why this is happening and how to fix it? And why would it only occur when viewing variables in the debugger (i.e. otherwise it operates normally)? _______________________________________________ Unsubscribe or switch delivery mode: <http://www.realsoftware.com/support/listmanager/> Search the archives of this list here: <http://support.realsoftware.com/listarchives/lists.html>
