Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
29261 Discussions

Start Debugging VS2005 gets mem access fault

jimdempseyatthecove
Honored Contributor III
583 Views

This is probably a Visual Studio bug. Maybe someone else here has some comments.

I have an application that frequently exhibits a memory access fault when issuing "Start Debugging" (or F5). Sometimes re-issuing Build (which builds nothing) will get the debug session going. I've also discovered that instead of "Start Debugging" if I do a "Step Into" I get to the entry point of the app just prior to the call to the init of C runtime system (crt0). If I continue from there all seems to work fine. This seems to be a timing issue.

A few years ago I had a similar experience with DEVENV vs IFV where a fleetingfile access privledges conflicted due to a race condition at startup. i.e. upon context switch between the IDE and the Debug session of DEVENV for the application.

This occured with both 9.1 and 10.0.025

Jim Dempsey

0 Kudos
0 Replies
Reply