[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [photran] Question on debugging problem
|
Whatever the compiler flags are for gfortran debug -- I believe it's -g
so set that on the build command in your makefile
(This has nothing to do with eclipse, it tells the compiler to generate debug symbols, which gdb uses, -- which then eclipse debugging uses.)
...Beth
Beth Tibbitts
Eclipse Parallel Tools Platform http://eclipse.org/ptp
IBM STG - High Performance Computing Tools
Mailing Address: IBM Corp., 745 West New Circle Road, Lexington, KY 40511
Paulus Zgz ---05/30/2013 05:59:15 AM---Dear Beth I am not sure if compiled with debug option. Both in the Run > Run configurations and in D
|
Paulus Zgz <dracoeuropa@xxxxxxxxxxx> |
|
Photran Information <photran@xxxxxxxxxxx> |
|
05/30/2013 05:59 AM |
|
Re: [photran] Question on debugging problem |
|
photran-bounces@xxxxxxxxxxx |
Dear Beth
I am not sure if compiled with debug option. Both in the Run > Run configurations and in Debug > Debug configurations windows, it is selected "Build configuration = Debug" (please, see attachments). Is this what you mean? If not, can you tell me "for dummies" how to activate the debug option for building?
I am selecting File > New > Fortran project with "Empty project" (with gcc Fortran toolchain) so that Photran uses my own Makefile instead of an automatically generated Makefile, because the latter option gives many errors, and it is unable to generate the binaries.
Thank you very much, to be able to use Photran is essential to be able to continue with my work.
Best regards
To: photran@xxxxxxxxxxx
From: tibbitts@xxxxxxxxxx
Date: Wed, 29 May 2013 12:56:55 -0400
Subject: Re: [photran] Question on debugging problem
did you compile with debug option?
...Beth
Beth Tibbitts
Eclipse Parallel Tools Platform http://eclipse.org/ptp
IBM STG - High Performance Computing Tools
Mailing Address: IBM Corp., 745 West New Circle Road, Lexington, KY 40511
Paulus Zgz ---05/29/2013 12:20:25 PM---Hello I am trying to debug one Fortran program. With Run > Run as > Local Fortran application, it wo
|
Paulus Zgz <dracoeuropa@xxxxxxxxxxx> |
|
"photran@xxxxxxxxxxx" <photran@xxxxxxxxxxx> |
|
05/29/2013 12:20 PM |
|
[photran] Question on debugging problem |
|
photran-bounces@xxxxxxxxxxx |
Hello
I am trying to debug one Fortran program. With Run > Run as > Local Fortran application, it works fine.
However, when I do Run > Debug as > Local Fortran application, it builds properly, but then it fails giving the following message:
"Reading symbols from /users/sol/risueno/exciting/2nd_exciting-git-phononlr/exciting/bin/excitingser...done.
new-console on
Undefined command: "new-console". Try "help".
Stopped due to shared library event
Stopped due to shared library event"
I think no information on this problem appears either in the Help or in the internet, so I need some support in order to try to continue using Photran. Any help will be very wellcome.
Best regards
--
Dr. Pablo García Risueño
Institut für Physik und IRIS Adlershof, Humboldt Universität zu Berlin, Zum Grossen Windkanal 6, 12489 Berlin, Germany
Tel. +49 030 209366369 _______________________________________________
photran mailing list
photran@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/photran
_______________________________________________ photran mailing list photran@xxxxxxxxxxx https://dev.eclipse.org/mailman/listinfo/photran[attachment "config.png" deleted by Beth Tibbitts/Watson/IBM] [attachment "debugger_options.png" deleted by Beth Tibbitts/Watson/IBM] _______________________________________________
photran mailing list
photran@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/photran