Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [photran] Re: how to debug

Hi Dong,

 

I sent this information to another user.  Maybe this is the same problem you are having?

 

Hilliard, Bill wrote:

> The debug launch configuration has 'Stop on start up at: main' enabled by default.  You can either keep that setting and use 'step into' after your session stops at main() to enter your Fortran code, or you can turn off 'Stop on start up at: main' in the launch configuration settings and set a break point in your Fortran code where you want to stop.

> 

> If you choose to modify the launch configuration, find the debug button (it looks like a beetle with a down pointing caret beside it).  Click on the caret and a drop down menu will appear.  On the menu choose 'Debug Configurations...'.  This will open a view where you can modify settings for any launch configurations you have created.  In the left pane, select your debug configuration if it is not already selected by default.  In the right pane, select the 'Debugger' tab to see the debugger settings.  Uncheck the box for 'Stop on start up at: main' and then click 'Apply' to save the change.  Then click 'Debug' if you want to start debugging immediately, or 'Close' if not.

> 

> If this is your first time looking at launch configurations, I suggest looking around at some of the other information you can set from here.  For example, you can do things like define program command line arguments here if need be (see the 'Arguments' tab) or set up environment variables if you need to (see 'Environment' tab), etc.

> 

> Hope this helps...Bill

 

 


From: photran-bounces@xxxxxxxxxxx [mailto:photran-bounces@xxxxxxxxxxx] On Behalf Of Dong Li
Sent: Thursday, February 26, 2009 8:04 AM
To: photran@xxxxxxxxxxx
Subject: [photran] Re: how to debug

 

Hi Jeff,

I didn't use my own Makefile, and the compiler that I use is intel Fortran compiler 11. I just created a new empty executable Fortran project in eclipse, gave it a name. added some parameters, such as external library, and imported my codes through "import->File system", right-clicking on Fortran Projects pane.

Thanks for help!

DONG Li


Back to the top