- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am using MS studio 2003 with IVF 8.1, during the debug, when I am doing step by step forward, sometimes, the step will jumping forward and backward irregularly, this mainly happens at if-else-endif block, sometimes, at the if statement, it may jump five or more "if-end if" blocks and then suddenly jump back to the current block. Obviously, this is not something wanted, although it seems not affecting the results at the moment. I have ensured that no optimization choice has been enabled when compiling the code. Anyone has similar experience or knows the cure, could you please let me know.
Regards,
David.
Link Copied
4 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sounds similar to something I occasionally find in CVF. The line being pointed to is several lines away from the one being executed. If there is a loop present I guess this could result in it jumping backwards.
It always seems to be cured by a rebuild so I suspect either the compiler isn't writing the object files out and the linker is picking up the old versions or the linker doesn't write out the executable and so the debugger tries to associate the updated code with the old executable.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have experienced similar erratic behaviour of IVF 8.1 debugger in VS.NET 2003. I am actually getting debuger stepping through comment lines! If you turn on "Disassembly" debug windows you can get more feeling of the order of source code lines relative to machine instructions. In my case they made very little sense. After a bit more inspection, I realised that this was down to faulty preprocessors. I actually used /fpp switch to turn on preprocessors which is required for openmp compilation. Turning the pp off and rebuilding sorted the problem out, although I still experience other debugger problems reported in a different thread (re: pointer-based arrays).
Vlada
Vlada
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
I have posted a similar topic today that seems to have been removed, anyway, in my case turning off the /fpp does not solve my problem at all.
Thanks
I have posted a similar topic today that seems to have been removed, anyway, in my case turning off the /fpp does not solve my problem at all.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I sent you mail about the topic. Please read it and reply.
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page