Building to ensure sources are up-to-date
Selecting target:
Debug
Adding source dir: E:\Projects\Programming\C\CodeBlocks\ScanUserInput\
Adding source dir: E:\Projects\Programming\C\CodeBlocks\ScanUserInput\
Adding file: E:\Projects\Programming\C\CodeBlocks\ScanUserInput\bin\Debug\ScanUserInput.exe
Changing directory to: E:/Projects/Programming/C/CodeBlocks/ScanUserInput/.
Set variable: PATH=.;C:\Compilers\MinGW\bin;C:\Compilers\MinGW;E:\Program Files (x86)\CodeBlocks\MinGW\bin;E:\Program Files (x86)\CodeBlocks\MinGW;%COSMOSM%;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files (x86)\QuickTime Alternative\QTSystem;C:\Program Files\Java\jdk1.8.0\bin;\\ C\Compilers\cygwin64\bin;C:\Compilers\MinGW\msys\1.0\bin;C:\Program Files (x86)\Common Files\Microsoft Shared\Windows Live;C:\Program Files\Java\jdk1.7.0_03\bin
[debug]Command-line: C:\Compilers\MinGW\bin\gdb.exe -nx -fullname -quiet -args E:/Projects/Programming/C/CodeBlocks/ScanUserInput/bin/Debug/ScanUserInput.exe
[debug]Working dir : E:\Projects\Programming\C\CodeBlocks\ScanUserInput
Starting debugger: C:\Compilers\MinGW\bin\gdb.exe -nx -fullname -quiet -args E:/Projects/Programming/C/CodeBlocks/ScanUserInput/bin/Debug/ScanUserInput.exe
done
[debug]> set prompt >>>>>>cb_gdb:
Registered new type: wxString
Registered new type: STL String
Registered new type: STL Vector
Setting breakpoints
[debug]Dwarf Error: wrong version in compilation unit header (is 4, should be 2) [in module E:/Projects/Programming/C/CodeBlocks/ScanUserInput/bin/Debug/ScanUserInput.exe]
[debug](gdb) >>>>>>cb_gdb:
[debug]> show version
[debug]GNU gdb 6.8
[debug]Copyright (C) 2008 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 "i686-pc-mingw32".
[debug]>>>>>>cb_gdb:
[debug]> set confirm off
Debugger name and version: GNU gdb 6.8
[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 0
[debug]>>>>>>cb_gdb:
[debug]> set new-console on
[debug]>>>>>>cb_gdb:
[debug]> set disassembly-flavor att
[debug]>>>>>>cb_gdb:
[debug]> catch throw
[debug]Function "__cxa_throw" not defined in loaded symbols.
[debug]>>>>>>cb_gdb:
[debug]> source E:\Program Files (x86)\CodeBlocks\share\codeblocks/scripts/stl-views-1.0.3.gdb
[debug]>>>>>>cb_gdb:
[debug]> directory E:/Projects/Programming/C/CodeBlocks/ScanUserInput/
[debug]>>>>>>cb_gdb:
[debug]> break "E:/Projects/Programming/C/CodeBlocks/ScanUserInput/main.c:90"
[debug]No source file named E:/Projects/Programming/C/CodeBlocks/ScanUserInput/main.c in loaded symbols.
[debug]Breakpoint 1 ("E:/Projects/Programming/C/CodeBlocks/ScanUserInput/main.c:90) pending.
[debug]>>>>>>cb_gdb:
[debug]> run
Child process PID: 3084
[debug][New thread 3084.0x108c]
[debug](no debugging symbols found)
[debug](no debugging symbols found)
[debug](no debugging symbols found)
[debug](no debugging symbols found)
[debug](no debugging symbols found)
Trying to pause the running process...
[debug]Error: dll starting at 0x76a90000 not found.
[debug]Error: dll starting at 0x74d90000 not found.
[debug]Error: dll starting at 0x76a90000 not found.
[debug]Error: dll starting at 0x76bb0000 not found.
[debug][New thread 3084.0x16d8]
[debug]Program received signal SIGTRAP, Trace/breakpoint trap.
[debug][Switching to thread 3084.0x16d8]
[debug]0x76ea000d in ntdll!LdrFindResource_U () from C:\Windows\system32\ntdll.dll
[debug]>>>>>>cb_gdb:
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
Program received signal SIGTRAP, Trace/breakpoint trap.
In ntdll!LdrFindResource_U () (C:\Windows\system32\ntdll.dll)
[debug]> quit
Debugger finished with status 0
Happened after I moved by MinGW folder, tho I did my best to adjust the paths. It's now located at "C:\Compilers\MinGW". I also deleted "SDL-1.2.15", which I had no idea what role had and just now I realize it was probably important. Also, no "-s" enabled and "-g" is checked on every single page I could find. The project is compiling correctly and launches perfectly, but the debug won't work.