Debugging not working

Skip to first unread message

Nov 22, 2022, 8:15:39 PM11/22/22
to CBFortran
Hi, probably this is a known issue, but I got across it now. I searched somewhere else for answers but I am not sure.
I have cb fortran 1.8 configured under windows 10 using Intel frotran compiler 2022 standalone. Also installed gcc 11.3 (with gdb 10.2) from in c:\gcc. In Settings, under debugger, it is set as c:\gcc\bin\gdb.exe Compiling a project goes well, but when trying to debug fails apparently not finding the debugee:

Starting debugger: C:\gcc\bin\gdb.exe -nx -fullname -quiet  -args E:/Megasync/programas/testcolsys/bin/Debug/testcolsys.exe
Setting breakpoints
Debugger name and version: GNU gdb (GDB) 10.2
Starting the debuggee failed: No executable specified, use `target exec'.
Debugger finished with status 0

Searching in the internet I found that one sould use the MinGW debugger provided by codeblocks, but I cannot find it, neither in cb fortran nor in the regular cb 20.03. Whay I am missing?

Nov 22, 2022, 8:21:49 PM11/22/22
to CBFortran
Sorry, forgot to say that building with gfortran does not show the issue, gdb works normally

Darius Markauskas

Nov 26, 2022, 5:06:37 AM11/26/22
"""...under windows 10 using Intel frotran compiler 2022 standalone."""

The problem, that GDB can't be used for debugging Intel fortran under Windows. A program compiled with Intel fortran can be debugged only using Visual Studio debugger. Unfortunately.
There is no such problem under Linux, where a standard GDB or a custom GDB which comes with Intel fortran can be used.

You received this message because you are subscribed to the Google Groups "CBFortran" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
To view this discussion on the web visit

Fernando Molina

Nov 26, 2022, 1:03:48 PM11/26/22
Ok, thanks. Yes, I already noticed that there is no problem under linux.

Reply all
Reply to author
0 new messages