Below, please find enclosed the debugger log file.
The following is suspicious ->
No source file named C:/Users/Agnar Már/Documents/C++/enneinprufan/main.cpp in loaded symbols.The file does exist and the path is correct. Perhaps this is a character encoding bug as:
C:\Users\Agnar Már\Documents\C++\enneinprufan\
!= C:/Users/Agnar Már/Documents/C++/enneinprufan/main.cpp
==============================
PATH=.;C:\Program Files\CodeBlocks\MinGW\bin;C:\Program Files\Common Files\Microsoft Shared\Windows Live;C:\Program Files\Common Files\ArcSoft\Bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Pinnacle\Shared Files\;C:\Program Files\Pinnacle\Shared Files\Filter\;C:\Program Files\QuickTime\QTSystem\;C:\Program Files\Windows Live\Shared;C:\Min2GW32\bin
Command-line: C:\Program Files\CodeBlocks\MinGW\bin\gdb.exe -nx -fullname -quiet -args bin/Debug/enneinprufan.exe
Working dir : C:\Users\Agnar Már\Documents\C++\enneinprufan\
> set prompt >>>>>>cb_gdb:
(gdb)
>>>>>>cb_gdb:
> show version
GNU gdb 6.8
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "i686-pc-mingw32".
>>>>>>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 debugevents on
>>>>>>cb_gdb:
> set new-console on
>>>>>>cb_gdb:
> set disassembly-flavor att
>>>>>>cb_gdb:
> catch throw
Catchpoint 1 (throw)
>>>>>>cb_gdb:
> source C:\Program Files\CodeBlocks\share\codeblocks/scripts/stl-views-1.0.3.gdb
>>>>>>cb_gdb:
> directory C:/Users/AGNARM~1/DOCUME~1/C__~1/ENNEIN~1/
>>>>>>cb_gdb:
> tbreak "C:/Users/Agnar Már/Documents/C++/enneinprufan/main.cpp:8"
No source file named C:/Users/Agnar Már/Documents/C++/enneinprufan/main.cpp in loaded symbols.
Breakpoint 2 ("C:/Users/Agnar Már/Documents/C++/enneinprufan/main.cpp:
pending.
>>>>>>cb_gdb:
> run
gdb: win32_init_thread_list
[New thread 5280.0x14a4]
Program exited normally.
>>>>>>cb_gdb:
> set debugevents off
>>>>>>cb_gdb:
> quit