Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[photran] Configuring debugger to catch run-time errors with Photran

Dear Photranners,

I am new to both Photran/eclipse, and to code development under Linux. I have successfully managed to get everything that I wanted out of it so far, but seem to be having some problems getting the debugger to work - the problem is that I am unable to catch run-time errors with either the intel debugger (idb) or the gnu debugger (gdb). The code that I have inherited is poorly written and has a lot of array out-of-bounds errors that I am trying to pickup - I am thus using the -CB compiler flag, and the executable throws an error when such a violation occurs - however, I would like the debugger to kick in at this point, so that I can see where in the code it has occurred, and what variables were causing it, but this doesn't seem to be working. Does anyone have any suggestions how this should be configured?

I am using the Intel Fortran compiler/debugger v 10.1.008 on Debian 4.0, with Photran 4.0 beta 3.

Cheers,

Mark

Back to the top