Hi all,
first thank you very much for the great program!
I use Intel Fortran Compiler (under GNU/Linux) with an home-made lexer in order to use Fortran95 code; at the present I use a custom makefile (and this maybe my problem); I know that the Fortran language is "unsupported" by Code::Blocks and I have already read all the documentations about Fortran/Code::Blocks both in the wiki and in the forum.
I use Code::Blocks with very very satisfaction but the debugger doesn't work. I have tried both Intel debugger and GDB selecting them in the compiler option, but they don't work.
I think that the problem is my ignorance of Code::Blocks; my procedure is as follow: I compile my code with my custom makefile (with debugging options activated); in the source code I put some breakpoint; finally I run the code in debugging mode (button Debbug/ Continue); the only output that I get is:
Building to ensure sources are up-to-date
Build succeeded
Selecting target: link
Adding source dir: /home/szaghi/Desktop/EoS-v-1.3-OP/
Adding source dir: /home/szaghi/Desktop/EoS-v-1.3-OP/
Adding file: EoS
Starting debugger: done
Registered new type: wxString
Registered new type: STL String
Registered new type: STL Vector
Setting breakpoints
Debugger name and version: GNU gdb 6.6-debian
No symbol table is loaded. Use the "file" command.
It seems that there are no debugging symbols. Can anyone help me?
Thank you very much.
Stefano
Go to debugger settings and enable the "Debugger's debug log". This will open up a new message tab that will contain the entire (raw) conversation with gdb. If you can't see what's wrong, paste that log's contents here.
Hi mandraw thank's for you quick replay!
This is message:
LD_LIBRARY_PATH=.:
Command-line: /usr/bin/gdb -nx -fullname -quiet -args EoS
Working dir : /home/szaghi/Desktop/EoS-v-1.3-OP/
> set prompt >>>>>>cb_gdb:
EoS: No such file or directory.
(gdb) >>>>>>cb_gdb:
> show version
GNU gdb 6.6-debian
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
>>>>>>cb_gdb:
> set confirm off
>>>>>>cb_gdb:
> set width 0
>>>>>>cb_gdb:
> set height 0
>>>>>>cb_gdb:
> set breakpoint pending on
>>>>>>cb_gdb:
> set print asm-demangle on
>>>>>>cb_gdb:
> set unwindonsignal on
>>>>>>cb_gdb:
> set disassembly-flavor intel
>>>>>>cb_gdb:
> directory /home/szaghi/Desktop/EoS-v-1.3-OP/
>>>>>>cb_gdb:
> break "/home/szaghi/Desktop/EoS-v-1.3-OP/Sorgenti/01-Main.f90:129"
No symbol table is loaded. Use the "file" command.
>>>>>>cb_gdb:
> start
No symbol table loaded. Use the "file" command.
>>>>>>cb_gdb:
What do you think about it?