<?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 Hi, in Software Archive</title>
    <link>https://community.intel.com/t5/Software-Archive/Debugging-FORTRAN-code-with-XCode-7-3/m-p/1065843#M80280</link>
    <description>This comment has been moved to its own &lt;A href="https://community.intel.com/en-us/forums/debug-solutions/topic/700047"&gt;thread&lt;/A&gt;</description>
    <pubDate>Tue, 18 Oct 2016 08:20:10 GMT</pubDate>
    <dc:creator>Emmanuel_I_</dc:creator>
    <dc:date>2016-10-18T08:20:10Z</dc:date>
    <item>
      <title>Debugging FORTRAN code with XCode 7.3</title>
      <link>https://community.intel.com/t5/Software-Archive/Debugging-FORTRAN-code-with-XCode-7-3/m-p/1065839#M80276</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;Hello,&lt;/P&gt;

&lt;P&gt;I am new to using FORTRAN on Xcode so please bear with me.&lt;/P&gt;

&lt;P&gt;I have been able to compile and run FORTRAN codes (under Xcode) so far but debugging is giving me a hard time. In essence, I cannot see local, or global, variables once the program stops at a breakpoint. I would like to check the value of variables as my code moves from one line to another. I am not looking for something fancy here as I have seen such capability under Visual Studio (windows). Can you please point me in the right direction? Should I install additional software to get debugging capabilities? Is there any setting in the Build section that I am missing?&lt;/P&gt;

&lt;P&gt;I am using Xcode 7.3, OS X El Capitan (version 10.11.4), and Intel Fortran Compiler 16.0.&lt;/P&gt;

&lt;P&gt;thanks&lt;/P&gt;

&lt;P&gt;Farzin&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 29 Mar 2016 23:53:11 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Debugging-FORTRAN-code-with-XCode-7-3/m-p/1065839#M80276</guid>
      <dc:creator>Farzin_Z_</dc:creator>
      <dc:date>2016-03-29T23:53:11Z</dc:date>
    </item>
    <item>
      <title>Hello Farzin,</title>
      <link>https://community.intel.com/t5/Software-Archive/Debugging-FORTRAN-code-with-XCode-7-3/m-p/1065840#M80277</link>
      <description>&lt;P&gt;Hello Farzin,&lt;/P&gt;

&lt;P&gt;I only can offer to use the command line GDB that we ship with our compilers.&lt;/P&gt;

&lt;P&gt;IIRC, XCode uses LLDB which does not (yet) have Fortran awareness. Hence, the only way I see is using "gdb-ia" (Intel version of GDB) on the command line. It's not as nice as debugging in XCode but should work well.&lt;/P&gt;

&lt;P&gt;Please let me know if you need help with GDB.&lt;/P&gt;

&lt;P&gt;Best regards,&lt;/P&gt;

&lt;P&gt;Georg Zitzlsberger&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 01 Apr 2016 14:54:26 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Debugging-FORTRAN-code-with-XCode-7-3/m-p/1065840#M80277</guid>
      <dc:creator>Georg_Z_Intel</dc:creator>
      <dc:date>2016-04-01T14:54:26Z</dc:date>
    </item>
    <item>
      <title> </title>
      <link>https://community.intel.com/t5/Software-Archive/Debugging-FORTRAN-code-with-XCode-7-3/m-p/1065841#M80278</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Hello Georg,&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Thanks for the information you posted. I hope LLDB picks up Fortran soon.&lt;BR /&gt;
	&lt;BR /&gt;
	I have been a Fortran user on Windows (using Visual Studio) so all I know about debugging is through the VS environment. Can you please put me in the right direction as to how I can use gdb-ia.&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;I have another question, which is unrelated to the debugging problem I posted here. I have few old QuickWin Fortran projects in Windows. Do you what is the equivalent of QuickWin in Mac OS environment. Ultimately, I want to compile those programs under Xcode and see some graphics.&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;I really appreciate your help.&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;best&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;Farzin&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 02 Apr 2016 17:38:21 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Debugging-FORTRAN-code-with-XCode-7-3/m-p/1065841#M80278</guid>
      <dc:creator>Farzin_Z_</dc:creator>
      <dc:date>2016-04-02T17:38:21Z</dc:date>
    </item>
    <item>
      <title>Hello Farzin,</title>
      <link>https://community.intel.com/t5/Software-Archive/Debugging-FORTRAN-code-with-XCode-7-3/m-p/1065842#M80279</link>
      <description>&lt;P&gt;Hello Farzin,&lt;/P&gt;

&lt;P&gt;you need to run gdb-ia on the command line (in a terminal). To make it available you first source the environment (compilervars script). The following document describes the exact steps:&lt;BR /&gt;
	&lt;A href="https://software.intel.com/en-us/get-started-with-parallel-studio-xe-for-osx"&gt;https://software.intel.com/en-us/get-started-with-parallel-studio-xe-for-osx&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;After that you should be able to start "gdb-ia":&lt;/P&gt;

&lt;P&gt;$ gdb-ia --args myapp arg1 arg2 ...&lt;/P&gt;

&lt;P&gt;This starts the debugger with debuggee called myapp and the debuggee arguments arg1, arg2, ... (arguments are optional).&lt;/P&gt;

&lt;P&gt;You can find the general manual either online:&lt;BR /&gt;
	&lt;A href="https://www.gnu.org/software/gdb/"&gt;https://www.gnu.org/software/gdb/&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;or here &amp;lt;installation_root&amp;gt;/documentation_2016/en/debugger/ps2016/gdb.pdf&lt;/P&gt;

&lt;P&gt;Best regards,&lt;/P&gt;

&lt;P&gt;Georg Zitzlsberger&lt;/P&gt;</description>
      <pubDate>Mon, 04 Apr 2016 09:08:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Debugging-FORTRAN-code-with-XCode-7-3/m-p/1065842#M80279</guid>
      <dc:creator>Georg_Z_Intel</dc:creator>
      <dc:date>2016-04-04T09:08:00Z</dc:date>
    </item>
    <item>
      <title>Hi,</title>
      <link>https://community.intel.com/t5/Software-Archive/Debugging-FORTRAN-code-with-XCode-7-3/m-p/1065843#M80280</link>
      <description>This comment has been moved to its own &lt;A href="https://community.intel.com/en-us/forums/debug-solutions/topic/700047"&gt;thread&lt;/A&gt;</description>
      <pubDate>Tue, 18 Oct 2016 08:20:10 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Debugging-FORTRAN-code-with-XCode-7-3/m-p/1065843#M80280</guid>
      <dc:creator>Emmanuel_I_</dc:creator>
      <dc:date>2016-10-18T08:20:10Z</dc:date>
    </item>
  </channel>
</rss>

