Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [photran] question about debugging program in eclipse_photran - Intel Fortran

I am also new to Photran.  It works great and I am appreciative to have it.  However, I have a similar problem with the debugger - the error about "main."  I am using Ubuntu and Intel Fortran 11.1.  This error prevents me from running a program in debug mode.

I have noticed something else that might be related.

When I run a buggy program in debug configuration I always get the same error :
"forrtl: severe (174): SIGSEGV, segmentation fault occurred"
It doesn't matter what caused the error - array out of bounds, bad math, etc - always the same message. It also doesn't tell me the line number where the error occurred.

Could both problems be related?

Thanks,
David Bal

--- On Wed, 3/24/10, 彭鹏 <ppthelion@xxxxxxxxx> wrote:

From: 彭鹏 <ppthelion@xxxxxxxxx>
Subject: Re: [photran] question about debugging program in eclipse_photran
To: "Photran Information" <photran@xxxxxxxxxxx>
Date: Wednesday, March 24, 2010, 2:58 AM

在 星期三 24 三月 2010 00:44:17,Mike Garrahan 写道:
Hi,Mike:
   Thanks for your reply,but after I did what as your suggested,it still not
work.....
    Have a nice day!
> Try asking it to stop in MAIN__ instead of main (Run menu > Debug
> Configurations > your Fortran Local Application > Debugger tab).
>
> 彭鹏 wrote:
> >         When I used eclipse photran and intel fortran compilor to debug
> > my fortran program.It acts strangely....it acts as follows::1.no source
> > available for "main()",2.no source available for "_libc_start_main()",3
> > at last,it turns to fortran program, the first three signals sounds that
> > it first debug like a c program ,and then fortran ,why ??what I should to
> > to direct debug like fortran??
> >                                                      Stu:peng Peng
>
> _______________________________________________
> photran mailing list
> photran@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/photran
>
_______________________________________________
photran mailing list
photran@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/photran

Back to the top