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

Stack Trace

Rodrigues__Pedro
Beginner
460 Views

 Hello

   I am trying to figure out what is wrong with my program because I caught an segmentation fault.I would like to know I can debug it to get the complete stack trace (which options). I also would like to know if I can do that using devenv.exe at the command prompt for any executable without opening the IDE

 

   thanks

0 Kudos
1 Reply
Steven_L_Intel1
Employee
460 Views

If you compile at the command line, you can do it by adding /traceback to the ifort command.  As for using devenv, you would have to open the IDE to add the Traceback property to the project before you could build it. Once the property was enabled, you can build the project using devenv from the command line.

0 Kudos
Reply