<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic debug from in command line in Intel® Fortran Compiler</title>
    <link>https://community.intel.com/t5/Intel-Fortran-Compiler/debug-from-in-command-line/m-p/911408#M83545</link>
    <description>&lt;P&gt;I have a project with a main file and 16 module files. The developping environment is win7+VS2008+InterVF11+IMSL library. When the project was under debug, something stange happened. An error window showed up said VS got error and windows is looking for solution. After a while, it told me that VS has to be shut down. I have no idea what is wrong with my code or just because of VS. So I tried to debug from command lines. This is what I did:&lt;/P&gt;
&lt;P&gt;1) build the project with debug option&lt;/P&gt;
&lt;P&gt;ifort /debug:all /Od main.f90 module1.f90 .......  module16.f90&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;2)call VS GUI&lt;/P&gt;
&lt;P&gt;devenv /debugexe main.exe&lt;/P&gt;
&lt;P&gt;VS2008 GUI was successfully opened and the exe was executed well. I want to set a breakpoint so that I might be able to figure out what had happed when I built from the IDE. But it does not stop at the break point I set. According to this thread,&lt;/P&gt;
&lt;P&gt;&lt;A href="http://software.intel.com/en-us/articles/debug-windows-fortran-application-from-command-line/" target="_blank"&gt;http://software.intel.com/en-us/articles/debug-windows-fortran-application-from-command-line/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;I set line 23 at _MAIN__ . But it did not stop.&lt;/P&gt;
&lt;P&gt;So any suggestion on the strange VS2008 behavior or debugg in command line are appreciated.&lt;/P&gt;</description>
    <pubDate>Sun, 17 Jan 2010 20:42:50 GMT</pubDate>
    <dc:creator>yjyincj</dc:creator>
    <dc:date>2010-01-17T20:42:50Z</dc:date>
    <item>
      <title>debug from in command line</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/debug-from-in-command-line/m-p/911408#M83545</link>
      <description>&lt;P&gt;I have a project with a main file and 16 module files. The developping environment is win7+VS2008+InterVF11+IMSL library. When the project was under debug, something stange happened. An error window showed up said VS got error and windows is looking for solution. After a while, it told me that VS has to be shut down. I have no idea what is wrong with my code or just because of VS. So I tried to debug from command lines. This is what I did:&lt;/P&gt;
&lt;P&gt;1) build the project with debug option&lt;/P&gt;
&lt;P&gt;ifort /debug:all /Od main.f90 module1.f90 .......  module16.f90&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;2)call VS GUI&lt;/P&gt;
&lt;P&gt;devenv /debugexe main.exe&lt;/P&gt;
&lt;P&gt;VS2008 GUI was successfully opened and the exe was executed well. I want to set a breakpoint so that I might be able to figure out what had happed when I built from the IDE. But it does not stop at the break point I set. According to this thread,&lt;/P&gt;
&lt;P&gt;&lt;A href="http://software.intel.com/en-us/articles/debug-windows-fortran-application-from-command-line/" target="_blank"&gt;http://software.intel.com/en-us/articles/debug-windows-fortran-application-from-command-line/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;I set line 23 at _MAIN__ . But it did not stop.&lt;/P&gt;
&lt;P&gt;So any suggestion on the strange VS2008 behavior or debugg in command line are appreciated.&lt;/P&gt;</description>
      <pubDate>Sun, 17 Jan 2010 20:42:50 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/debug-from-in-command-line/m-p/911408#M83545</guid>
      <dc:creator>yjyincj</dc:creator>
      <dc:date>2010-01-17T20:42:50Z</dc:date>
    </item>
    <item>
      <title>debug from in command line</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/debug-from-in-command-line/m-p/911409#M83546</link>
      <description>&lt;P&gt;There are many other options set by default in a DEBUG configuration, and perhaps one of them is causing your difficulties&lt;/P&gt;
&lt;P&gt;I would try disabling warn:interfaces first and then do a rebuild. Did it crash? If that worked, I might try disabling check:bounds. If that stops the VS2008 crash, I would re-enabled check:bounds , one at a time, on each of the 16 source files, to see if perhaps there is an out-of-bounds reference that is combining with the added run-time check to provoke the crash.&lt;/P&gt;
&lt;P&gt; - Lorri&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;PS: When I use devenv to debug an executable that was not built within Visual Studio, I open the main program and set a break using the source editor. That usually works for me. (Yes, even when I didn't use Visual Studio to create the executable.)&lt;/P&gt;</description>
      <pubDate>Mon, 18 Jan 2010 19:12:09 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/debug-from-in-command-line/m-p/911409#M83546</guid>
      <dc:creator>Lorri_M_Intel</dc:creator>
      <dc:date>2010-01-18T19:12:09Z</dc:date>
    </item>
  </channel>
</rss>

