For the first one, yes.
Here is a log where I point a break point. It doesn't matter though since the only options that aren't grayed out are Break Debugger and Stop Debugger.
Active debugger config: GDB/CDB debugger:Default
Building to ensure sources are up-to-date
Selecting target:
Debug
Adding source dir: C:\wxWidgets-3.0.2\src
Adding source dir: C:\wxWidgets-3.0.2\include\wx
Adding source dir: C:\Users\me\Documents\Projects\LogSearch\
Adding source dir: C:\Users\me\Documents\Projects\LogSearch\
Adding file: C:\Users\me\Documents\Projects\LogSearch\bin\Debug\LogSearch.exe
Changing directory to: C:/Users/me/Documents/Projects/LogSearch/.
Set variable: PATH=.;C:\wxWidgets-3.0.2\lib\gcc_lib\;C:\boost_1_59_0\stage\lib;C:\wxWidgets-3.0.2\lib\gcc_lib;C:\MinGW\bin;C:\MinGW;C:\TDM-GCC-32\bin;C:\TDM-GCC-32;C:\Program Files\Common Files\Microsoft Shared\Microsoft Online Services;C:\Program Files (x86)\Common Files\Microsoft Shared\Microsoft Online Services;C:\Program Files\Dell\DW WLAN Card;C:\Program Files (x86)\Intel\iCLS Client;C:\Program Files\Intel\iCLS Client;C:\Windows\System32;C:\Windows;C:\Windows\System32\wbem;C:\Windows\System32\WindowsPowerShell\v1.0;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files\WIDCOMM\Bluetooth Software;C:\Program Files\WIDCOMM\Bluetooth Software\syswow64;C:\Program Files\Microsoft SQL Server\110\DTS\Binn;C:\Program Files (x86)\Microsoft SQL Server\110\Tools\Binn;C:\Program Files\Microsoft SQL Server\110\Tools\Binn;C:\Program Files (x86)\Microsoft SQL Server\110\Tools\Binn\ManagementStudio;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\PrivateAssemblies;C:\Program Files (x86)\Microsoft SQL Server\110\DTS\Binn;C:\Program Files (x86)\Skype\Phone;C:\zip-2.3-3-bin\bin;C:\Program Files\TortoiseSVN\bin;C:\apache-maven-3.3.3\bin;C:\apache-ant-1.9.6\bin;C:\axis2-1.5.1\bin
[debug]Command-line: C:\MinGW\bin\gdb.exe -nx -fullname -quiet -args C:/Users/me/Documents/Projects/LogSearch/bin/Debug/LogSearch.exe
[debug]Working dir : C:\Users\me\Documents\Projects\LogSearch
Starting debugger: C:\MinGW\bin\gdb.exe -nx -fullname -quiet -args C:/Users/me/Documents/Projects/LogSearch/bin/Debug/LogSearch.exe
done
[debug]> set prompt >>>>>>cb_gdb:
Registered new type: wxString
Registered new type: STL String
Registered new type: STL Vector
Setting breakpoints
[debug]Reading symbols from C:\Users\me\Documents\Projects\LogSearch\bin\Debug\LogSearch.exe...
[debug]done.
[debug](gdb) >>>>>>cb_gdb:
[debug]> show version
[debug]GNU gdb (GDB) 7.6.1
[debug]Copyright (C) 2013 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 "mingw32".
[debug]For bug reporting instructions, please see:
[debug]<http://www.gnu.org/software/gdb/bugs/>.
[debug]>>>>>>cb_gdb:
[debug]> set confirm off
Debugger name and version: GNU gdb (GDB) 7.6.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 0
[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]> source C:\cb_nightly\share\codeblocks/scripts/stl-views-1.0.3.gdb
[debug]>>>>>>cb_gdb:
[debug]> directory C:/wxWidgets-3.0.2/src
[debug]Source directories searched: C:/wxWidgets-3.0.2/src;$cdir;$cwd
[debug]>>>>>>cb_gdb:
[debug]> directory C:/wxWidgets-3.0.2/include/wx
[debug]Source directories searched: C:/wxWidgets-3.0.2/include/wx;C:/wxWidgets-3.0.2/src;$cdir;$cwd
[debug]>>>>>>cb_gdb:
[debug]> directory C:/Users/me/Documents/Projects/LogSearch/
[debug]Source directories searched: C:/Users/me/Documents/Projects/LogSearch;C:/wxWidgets-3.0.2/include/wx;C:/wxWidgets-3.0.2/src;$cdir;$cwd
[debug]>>>>>>cb_gdb:
[debug]> break "C:/Users/me/Documents/Projects/LogSearch/LogSearchTab.cpp:353"
[debug]Breakpoint 2 at 0x40a3fd: file C:\Users\me\Documents\Projects\LogSearch\LogSearchTab.cpp, line 353.
[debug]>>>>>>cb_gdb:
[debug]> run
[debug]Starting program: C:/Users/me/Documents/Projects/LogSearch/bin/Debug/LogSearch.exe
Child process PID: 15540
[debug][New Thread 15540.0x2374]
[debug][New Thread 15540.0x534]
[debug][New Thread 15540.0x40dc]
[debug][New Thread 15540.0x2a54]
[debug][New Thread 15540.0x3df0]
[debug][New Thread 15540.0x1c38]
[debug][New Thread 15540.0x33e8]
[debug][New Thread 15540.0x1064]
[debug][New Thread 15540.0x1f98]
[debug][New Thread 15540.0x4204]
[debug][New Thread 15540.0x42e8]
[debug][New Thread 15540.0x3f38]
[debug][New Thread 15540.0x3d38]
[debug][New Thread 15540.0x40d8]
[debug][New Thread 15540.0x334c]
[debug][New Thread 15540.0x4214]
[debug]Breakpoint 2, LogSearchTab::OpenFile (this=0xa069ad8, filename=...) at C:\Users\me\Documents\Projects\LogSearch\LogSearchTab.cpp:353
[debug]C:\Users\me\Documents\Projects\LogSearch\LogSearchTab.cpp:353:13305:beg:0x40a3fd
[debug]>>>>>>cb_gdb:
At C:\Users\me\Documents\Projects\LogSearch\LogSearchTab.cpp:353
[debug]> info locals
[debug]file = {
[debug] m_volume = {
[debug] static npos = 4294967295,
[debug] m_impl = {
[debug] static npos = 4294967295,
[debug] _M_dataplus = {
[debug] <std::allocator<wchar_t>> = {
[debug] <__gnu_cxx::new_allocator<wchar_t>> = {<No data fields>}, <No data fields>},
[debug] members of std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::_Alloc_hider:
[debug] _M_p = 0xa0819d4 L"C"
[debug] }
[debug] },
[debug] m_convertedToChar = {
[debug] m_str = 0x0,
[debug] m_len = 0
[debug] }
[debug] },
[debug] m_dirs = {
[debug] m_nSize = 16,
[debug] m_nCount = 5,
[debug] m_pItems = 0xa07d3d4,
[debug] m_autoSort = false
[debug] },
[debug] m_name = {
[debug] static npos = 4294967295,
[debug] m_impl = {
[debug] static npos = 4294967295,
[debug] _M_dataplus = {
[debug] <std::allocator<wchar_t>> = {
[debug] <__gnu_cxx::new_allocator<wchar_t>> = {<No data fields>}, <No data fields>},
[debug] members of std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::_Alloc_hider:
[debug] _M_p = 0xa0886f4 L"server.log.2015-12-15"
[debug] }
[debug] },
[debug] m_convertedToChar = {
[debug] m_str = 0x0,
[debug] m_len = 168180656
[debug] }
[debug] },
[debug] m_ext = {
[debug] static npos = 4294967295,
[debug] m_impl = {
[debug] static npos = 4294967295,
[debug] _M_dataplus = {
[debug] <std::allocator<wchar_t>> = {
[debug] <__gnu_cxx::new_allocator<wchar_t>> = {<No data fields>}, <No data fields>},
[debug] members of std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::_Alloc_hider:
[debug] _M_p = 0xa07cc94 L"log"
[debug] }
[debug] },
[debug] m_convertedToChar = {
[debug] m_str = 0x0,
[debug] m_len = 2749444
[debug] }
[debug] },
[debug] m_relative = false,
[debug] m_hasExt = true,
[debug] m_dontFollowLinks = false
[debug]}
[debug]size = 156054864
Getting a callstack is exactly what I was trying to do so that I could see why I can't load large files (50MB works, 100MB crashes), since it does crash in release mode. It also crashes in debug mode when I run it (as in ctrl+F10). In both build modes, it crashes with just a generic windows "this stopped working" message box. In debug mode though (F8), it never crashes. It just stops working basically, with the aforementioned gdb behavior.