Well guys, I am unable to debug my projects in codeblocks for some reason... I was using the code blocks 20.03 portable and now I installed the code blocks, tried again and nothing happened.
I can't use the "next line", because it returns this: "Cannot find bounds of current function".
The Full DEBUG LOG
Active debugger config: GDB/CDB debugger:Default
Building to ensure sources are up-to-date
Selecting target:
Debug
Adding source dir: C:\Users\randomuser\Desktop\project\bbb\
Adding source dir: C:\Users\randomuser\Desktop\project\bbb\
Adding file: C:\Users\randomuser\Desktop\project\bbb\bin\Debug\bbb.exe
Changing directory to: C:/Users/randomuser/Desktop/project/bbb/.
Set variable: PATH=.;C:\MinGW\bin;C:\MinGW;C:\Windows\System32;C:\Windows;C:\Windows\System32\wbem;C:\Windows\System32\WindowsPowerShell\v1.0;C:\Windows\System32\OpenSSH;C:\Users\randomuser\AppData\Local\Programs\Python\Python38-32\Scripts;C:\Users\randomuser\AppData\Local\Programs\Python\Python38-32;C:\Users\randomuser\AppData\Local\Microsoft\WindowsApps;C:\Users\randomuser\AppData\Local\Programs\Microsoft VS Code\bin
[debug]Command-line: C:\Program Files\CodeBlocks\MinGW\bin\gdb.exe -nx -fullname -quiet -args C:/Users/randomuser/Desktop/project/bbb/bin/Debug/bbb.exe
[debug]Working dir : C:\Users\randomuser\Desktop\project\bbb
Starting debugger: C:\Program Files\CodeBlocks\MinGW\bin\gdb.exe -nx -fullname -quiet -args C:/Users/randomuser/Desktop/project/bbb/bin/Debug/bbb.exe
done
[debug]Reading symbols from C:/Users/randomuser/Desktop/project/bbb/bin/Debug/bbb.exe...done.
[debug](gdb)
[debug]> set prompt >>>>>>cb_gdb:
Setting breakpoints
[debug]>>>>>>cb_gdb:
[debug]> show version
[debug]GNU gdb (GDB) 8.1
[debug]Copyright (C) 2018 Free Software Foundation, Inc.
[debug]License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
[debug]This is free software: you are free to change and redistribute it.
[debug]There is NO WARRANTY, to the extent permitted by law. Type "show copying"
[debug]and "show warranty" for details.
[debug]This GDB was configured as "x86_64-w64-mingw32".
[debug]Type "show configuration" for configuration details.
[debug]For bug reporting instructions, please see:
[debug]<http://www.gnu.org/software/gdb/bugs/>.
[debug]Find the GDB manual and other documentation resources online at:
[debug]<http://www.gnu.org/software/gdb/documentation/>.
[debug]For help, type "help".
[debug]Type "apropos word" to search for commands related to "word".
[debug]>>>>>>cb_gdb:
[debug]> set confirm off
Debugger name and version: GNU gdb (GDB) 8.1
[debug]>>>>>>cb_gdb:
[debug]> set width 0
[debug]>>>>>>cb_gdb:
[debug]> set height 0
[debug]>>>>>>cb_gdb:
[debug]> set breakpoint pending on
[debug]>>>>>>cb_gdb:
[debug]> set print asm-demangle on
[debug]>>>>>>cb_gdb:
[debug]> set unwindonsignal on
[debug]>>>>>>cb_gdb:
[debug]> set print elements 200
[debug]>>>>>>cb_gdb:
[debug]> set new-console on
[debug]>>>>>>cb_gdb:
[debug]> set disassembly-flavor att
[debug]>>>>>>cb_gdb:
[debug]> catch throw
[debug]Catchpoint 1 (throw)
[debug]>>>>>>cb_gdb:
[debug]> directory C:/Users/randomuser/Desktop/project/bbb/
[debug]Source directories searched: C:/Users/randomuser/Desktop/project/bbb;$cdir;$cwd
[debug]>>>>>>cb_gdb:
[debug]> break "C:/Users/randomuser/Desktop/project/bbb/Untitled1.c:6"
[debug]Breakpoint 2 at 0x40141e: file C:\Users\randomuser\Desktop\project\bbb\Untitled1.c, line 6.
[debug]>>>>>>cb_gdb:
[debug]> run
[debug]Starting program: C:\Users\randomuser\Desktop\project\bbb\bin\Debug\bbb.exe
Child process PID: 8912
[debug][New Thread 8912.0x850]
[debug][New Thread 8912.0x1388]
[debug]Thread 1 received signal ?, Unknown signal.
[debug]0x0009e0c8 in ?? ()
[debug]>>>>>>cb_gdb:
In ?? () ()
[debug]> bt 30
[debug]#0 0x0009e0c8 in ?? ()
[debug]#1 0x00000000 in ?? ()
[debug]>>>>>>cb_gdb:
[debug]> next
[debug]Cannot find bounds of current function
[debug]>>>>>>cb_gdb:
Cannot find bounds of current function
[debug]> next
[debug]Cannot find bounds of current function
[debug]>>>>>>cb_gdb:
Cannot find bounds of current function