Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[photran] Debugger

Now that I understand the debugger has blue & green breakpoint dots (green for parallel breakpoints is the default), I still can’t get it to work?

It does stop at the first line in main changing perspective from Fortran to Debug so I can step through but won’t stop on the breakpoints when I click resume. <F5> and <F6> go from the C++ to Fortran just fine one line at a time.

This is a mixed C++ & Fortran project with C++ main.

I’m still just working on a not parallel program—you got to walk before you can run on multicores on the HPC, right?

 

Reading the man page, I figured the makefile needed more debug info so I added the options below. Previously I just had the classic –g:

gfortran -fcheck=all -fbacktrace -Wall -g3 -ggdb -c foo.f90

g++ -lgfortran foo.o

 

I’m using a fresh install of:

Eclipse Oxygen 4.7.1a

Parallel Tool Project Photran 9.1.3.201708300154

Cygwin gfortran 6.4.0

Windows 7

 

 


Back to the top