Which debugger?

Which debugger?

Аватар пользователя m_alonzo

Hi all,

After having installed the compiler (and the debugger) I tried to debug some codes written in F77 but I got some problems:

--> ddd3.3.1


.....

OPEN (UNIT=1,FILE='startdatafortran.dat')
READ (UNIT=1,FMT=100)
& XMIN,XMAX,SX,SY,FOC,PSF,IR1,IR2,FMIN,FMAX,NSEZV
100 FORMAT (
& E7.2/,
& E7.2/,
& E7.2/,
& E7.2/,
& E7.2/,
& E7.2/,
& E7.2/,
& E7.2/,
& E7.4/,
& E7.4/,
& I4
& )
CLOSE (UNIT=1)


during debugging session all the values red are wrong, for example XMIN seems to be equal to 2342443543543.23243 but it is -0.4.

this is the file from which numbers are red:
-.4
.4
12.5
12.5
25.0
26.0
1.0
1.0
0.0245
0.0255
208


[
Note:
I used:
wan>ifc -g -otest1.o program.f
to compile the program

If I use g77 -g program.f -o test1.o everything work!
]


So my questions are:
-Can I use ddd to debug my programs?
- if yes why I get this strange behavior? How can I solve it?
- if not which debugger can I use?

Thank you

Best Regards
Massimo

2 posts / 0 новое
Последнее сообщение
Пожалуйста, обратитесь к странице Уведомление об оптимизации для более подробной информации относительно производительности и оптимизации в программных продуктах компании Intel.
Аватар пользователя Steve Lionel (Intel)

I think you're supposed to use ldb, which is compatible with ddd.

Steve

Steve

Зарегистрируйтесь, чтобы оставить комментарий.