Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [photran] Runing IDB an Photran

Hi

I am a brand new user of both Fortran and Photran.
I am using Eclise 3.3.0 with Photran 4.0.3 and Intel Fortran compiler 10.1.015 under Ubuntu 8.04.
This is my first post on this forum, and I am unsure how to reply to an old thread. I hope this post will be associated with the thread started by Fernando Stump, 24 Apr 2008.

I just want to say that I have exactly the same problem with integrating IDB into Photran.
Regarding the approach involving the bash-script:
I tried to add the path to the script in
"Debug" dialog =>"Debugger" Tab =>"GDB debugger" field
Trying to debug gives the error message "Target is not responding (timed out)"
Can anyone please give a hint how to resolve this?

When I eventually get the debugger up and running, it would also be nice to have a profiler/performance analyser integrated. Is this possible, and in that case which tools would you people recommend?

--
Jakob Borbye
Ph.D. student,  Mechanical Engineering
Technical University of Denmark


[photran] Runing IDB an Photran
I'm new in Photran and I trying to debug my code with idb.

Browsing trough the Internet I found that there are 2 ways to do so.
But I couldn't make it work.

One is to write a script to point gdb to idb: Someone wrote in this
forum previously:

"IDB has implemented the MI interface. You can run IDB under
Eclipse/CDT or Eclipse/Photran without any plugin. Simply create a
script which contains:

#!/bin/bash
#
exec <wherever IDB is installed/idb -gdb "$@"

Then point to the script in the Debug... dialog, in the Debugger tab
(the "Debugger Location" field). "

However, I can't find a Debugger Location field.

I read also that you can use a plugin that makes idb available in the
drop dow list of debuggers. But I couldn't find this plugin on the
Eclipse website

Does any one could help me on that.

Thanks
Fernando Stump
Research Assistant
MechSE, UIUC






Back to the top