title: Is lldb working with fortran?
body: <p>I am trying to breakpoint a fortran program with <code>lldb</code> on a Mac OS 10.12.5 system. I have</p>
  
  <pre><code>program badcall
        integer a,b
        a=2
        b=3
  
  write(*,*) a, b
  end
  </code></pre>
  
  <p>I (<strong>have to</strong>) compile with the intel compilers. </p>
  
  <pre><code>ifort -g badcall.f90 -o badcall
  </code></pre>
  
  <p>then I run with <code>lldb</code> and do</p>
  
  <pre><code>breakpoint set -f badcall.f90 -l 5
  </code></pre>
  
  <p>programs stops normally</p>
  
  <pre><code>Process 59474 stopped
  * thread #1, queue = 'com.apple.main-thread', stop reason = breakpoint 1.1
      frame #0: 0x0000000100000f35 prova`MAIN__ at badcall.f90:6
     3          a=2
     4          b=3
     5          
  </code></pre>
  
  <p>However if I then try to print the variable <code>b</code> I get nothing</p>
  
  <pre><code>(lldb) p b
  (lldb) print b
  (lldb) q
  </code></pre>
  
  <p>So am I missing something? Is <code>lldb</code> really usable to debug fortran code?</p>