debug Fortran on Sun Studio IDE
Hi,
I am quite new to Sun Studio and I am trying to use it in my daily work.
The Fortran 95 compiler runs really nice on Linux. It found some bugs that
Intel 9.1 did not!
However when I tried to debug the program I realized that it is not possible to
set the breakpoint using the IDE, one has to run dbx separately within a shell.
Is this right or am I missing something?
If so, is it planned to introduce this feature in the near future?
Thanks
Lello.
[513 byte] By [
lello1776a] at [2007-11-26 15:50:38]

# 1
I just watched over someone's shoulder as they tested basic fortran
IDE support two weeks ago in Sun Studio Express 3. This should work.
Can you give us more details of what didn't work?
I assume you're using the new IDE from Sun Studio 12 Express 3 release
along with the latest fortran compiler in that same release?
# 2
Hi, the sun studio express version I am using is the following: 2006-12-r2
(taken from the file), and the compiler is from the same release.
To be clearer, if I create a C/C++ file and then, in the editor window,
I click on the column containing the line number I put a breakpoint (a red point appears
near the number) on that line for debugging.
This does not work when I create a f90 file. I can only hear a beep when I click
on line number, but no breakpoint is set.
Thanks.
# 3
Ooops. I think I was wrong. I just repeated this experiment.
It works in our latest internal build, but not in the Express 3 release.
This must have been a bug that was fixed very recently. You can
still set breakpoints using dbx commands in the dbx console window
of the IDE, and the red glyphs will show up in the source window.
We should have another preview release in a few months...
--chris