Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
29280 Discussions

Debugging -debug:minimal code with VS2013

Stefan_P_1
Beginner
523 Views

When using VS2013 Update 4, for Fortran source files compiled with -debug:minimal we lost the ability to set breakpoints or have the source file automatically opened in the IDE with Break All. The breakpoints appear as hollow circles with a warning sign, and the tooltip reads "The breakpoint will not currently be hit. Unexpected symbol reader error while processing hello.exe". The Modules window shows "Symbols loaded." in the Symbol Status column for hello.exe.

We're using Compiler 15 Update 1.

To reproduce, attach to the following .exe, built with ifort -debug:minimal hello.f90

program hello
 print *, "Press Enter to continue..."
 read (*, *)
 print *, "Hello World!"
end

 

There are no issues when using -debug:full, but that generates different code when combined with optimizations (-Ox).

The -debug:minimal code can be debugged with VS2010 SP1, both for setting up breakpoints and associating the source with the current code location when breaking the execution.

0 Kudos
1 Reply
Steven_L_Intel1
Employee
523 Views

Thanks - I can reproduce this and we will investigate.

0 Kudos
Reply