The path to source files are broken during debug

CodeLite installation/troubleshooting forum
Lyberta
CodeLite Enthusiast
Posts: 10
Joined: Mon Feb 20, 2017 12:17 pm
Genuine User: Yes
IDE Question: C++
Contact:

The path to source files are broken during debug

Post by Lyberta »

CodeLite 10, Debian Testing, g++ 6.3.0, gdb 7.12

After updating to CodeLite 10, building my libraries with it and debugging them, it looks like the paths to the source files are incorrect. Instead of the correct paths I get paths starting with "./Build./" which is not where my files are. This happens only in libraries and not in the executable which is run directly.

Output tab is empty.

Trace:

Code: Select all

11:21:30: Initializing refactoring database for workspace: ftzEngine
11:21:30: Initializing refactoring database for workspace: ftzEngine... done
11:21:30: Symbols file loaded into OS file system cache (0 seconds)
11:21:30: Install path: /usr/share/codelite
11:21:30: Startup Path: /home/fatony/.codelite
11:21:30: Using Scintilla 3.21
11:21:55: Setting working directory to: /home/fatony/Stuff/C++/ftz/Engine/Src/IDE/CodeLite
11:21:57: Failed to open: /home/fatony/Stuff/C++/ftz/Engine/Src/IDE/CodeLite/: No such file or directory
User avatar
eranif
CodeLite Plugin
Posts: 6375
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: The path to source files are broken during debug

Post by eranif »

In order for us to help you, you need to provide the debugger log.
See the "HOW TO POST" thread (my signature) for the required information

Eran
Make sure you have read the HOW TO POST thread
Lyberta
CodeLite Enthusiast
Posts: 10
Joined: Mon Feb 20, 2017 12:17 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: The path to source files are broken during debug

Post by Lyberta »

Oh, there is a separate tab in debugger. Here's the log:

Code: Select all

Using gdbinit file: /tmp/codelite_gdbinit.txt
Current working dir: /home/fatony/Stuff/C++/ftz/Engine/Src/IDE/CodeLite/Server
Launching gdb from : ../../../../Bin
Starting debugger  : /usr/bin/gdb --command="/tmp/codelite_gdbinit.txt" --tty=/dev/pts/7 --interpreter=mi "./ftz-engine-server"
DEBUG>>set unwindonsignal on
DEBUG>>set breakpoint pending on
DEBUG>>catch throw
DEBUG>>set print object on
DEBUG>>set width 0
DEBUG>>set height 0
DEBUG>>set print elements 200
DEBUG>>python
DEBUG>>import sys
DEBUG>>sys.path.insert(0, '/home/fatony/.codelite/gdb_printers')
DEBUG>>from libstdcxx.v6.printers import register_libstdcxx_printers
DEBUG>>register_libstdcxx_printers (None)
DEBUG>>from qt4 import register_qt4_printers
DEBUG>>register_qt4_printers (None)
DEBUG>>from wx import register_wx_printers
DEBUG>>register_wx_printers (None)
DEBUG>>from boost.printers import register_printer_gen
DEBUG>>register_printer_gen(None)
DEBUG>>end
Debug session started successfully!
DEBUG>>00000001-exec-arguments 
DEBUG>>00000002-exec-run 
DEBUG>>=thread-group-added,id="i1"
=thread-group-added,id="i1"
DEBUG>>~"GNU gdb (Debian 7.12-6) 7.12.0.20161007-git\n"
GNU gdb (Debian 7.12-6) 7.12.0.20161007-git
DEBUG>>~"Copyright (C) 2016 Free Software Foundation, Inc.\n"
Copyright (C) 2016 Free Software Foundation, Inc.
DEBUG>>~"License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>\nThis is free software: you are free to change and redistribute it.\nThere is NO WARRANTY, to the extent permitted by law.  Type \"show copying\"\nand \"show warranty\" for details.\n"
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>\nThis is free software: you are free to change and redistribute it.\nThere is NO WARRANTY, to the extent permitted by law.  Type "show copying"\nand "show warranty" for details.
DEBUG>>~"This GDB was configured as \"x86_64-linux-gnu\".\nType \"show configuration\" for configuration details."
This GDB was configured as "x86_64-linux-gnu".\nType "show configuration" for configuration details.
DEBUG>>~"\nFor bug reporting instructions, please see:\n"
\nFor bug reporting instructions, please see:
DEBUG>>~"<http://www.gnu.org/software/gdb/bugs/>.\n"
<http://www.gnu.org/software/gdb/bugs/>.
DEBUG>>~"Find the GDB manual and other documentation resources online at:\n<http://www.gnu.org/software/gdb/documentation/>.\n"
Find the GDB manual and other documentation resources online at:\n<http://www.gnu.org/software/gdb/documentation/>.
DEBUG>>~"For help, type \"help\".\n"
For help, type "help".
DEBUG>>~"Type \"apropos word\" to search for commands related to \"word\"...\n"
Type "apropos word" to search for commands related to "word"...
DEBUG>>~"Reading symbols from ./ftz-engine-server..."
Reading symbols from ./ftz-engine-server...
DEBUG>>~"done.\n"
done.
DEBUG>>&"Traceback (most recent call last):\n"
DEBUG>>&"  File \"<string>\", line 13, in <module>\n"
DEBUG>>&"  File \"/home/fatony/.codelite/gdb_printers/boost/printers.py\", line 1223\n"
DEBUG>>&"    return long(str(parse_and_eval('*((void**)' + str(node_ptr) + ')')), 16) & (~1L)\n"
DEBUG>>&"                                                                                  ^\n"
DEBUG>>&"SyntaxError: invalid syntax\n"
DEBUG>>&"/tmp/codelite_gdbinit.txt:17: Error in sourced command file:\n"
DEBUG>>&"Error while executing Python code.\n"
DEBUG>>&"set unwindonsignal on\n"
DEBUG>>=cmd-param-changed,param="unwindonsignal",value="on"
=cmd-param-changed,param="unwindonsignal",value="on"
DEBUG>>^done
DEBUG>>&"set breakpoint pending on\n"
DEBUG>>=cmd-param-changed,param="breakpoint pending",value="on"
=cmd-param-changed,param="breakpoint pending",value="on"
DEBUG>>^done
DEBUG>>&"catch throw\n"
DEBUG>>~"Catchpoint 1 (throw)\n"
Catchpoint 1 (throw)
DEBUG>>=breakpoint-created,bkpt={number="1",type="breakpoint",disp="keep",enabled="y",addr="0x00000000000099d0",what="exception throw",catch-type="throw",thread-groups=["i1"],times="0"}
=breakpoint-created,bkpt={number="1",type="breakpoint",disp="keep",enabled="y",addr="0x00000000000099d0",what="exception throw",catch-type="throw",thread-groups=["i1"],times="0"}
DEBUG>>^done
DEBUG>>&"set print object on\n"
DEBUG>>=cmd-param-changed,param="print object",value="on"
=cmd-param-changed,param="print object",value="on"
DEBUG>>^done
DEBUG>>&"set width 0\n"
DEBUG>>=cmd-param-changed,param="width",value="4294967295"
=cmd-param-changed,param="width",value="4294967295"
DEBUG>>^done
DEBUG>>&"set height 0\n"
DEBUG>>=cmd-param-changed,param="height",value="4294967295"
=cmd-param-changed,param="height",value="4294967295"
DEBUG>>^done
DEBUG>>&"set print elements 200\n"
DEBUG>>^done
DEBUG>>&"python\n"
DEBUG>>&"Traceback (most recent call last):\n"
DEBUG>>&"  File \"<string>\", line 4, in <module>\n"
DEBUG>>&"  File \"/home/fatony/.codelite/gdb_printers/libstdcxx/v6/printers.py\", line 1023, in register_libstdcxx_printers\n"
DEBUG>>&"    gdb.printing.register_pretty_printer(obj, libstdcxx_printer)\n"
DEBUG>>&"  File \"/usr/share/gdb/python/gdb/printing.py\", line 152, in register_pretty_printer\n"
DEBUG>>&"    printer.name)\n"
DEBUG>>&"RuntimeError: pretty-printer already registered: libstdc++-v6\n"
DEBUG>>&"Error while executing Python code.\n"
DEBUG>>^error,msg="Error while executing Python code."
^error,msg="Error while executing Python code."
DEBUG>>00000001^done
>> Debuggee process ID: 10246
DEBUG>>=thread-group-started,id="i1",pid="10246"
=thread-group-started,id="i1",pid="10246"
DEBUG>>=thread-created,id="1",group-id="i1"
=thread-created,id="1",group-id="i1"
DEBUG>>=breakpoint-modified,bkpt={number="1",type="breakpoint",disp="keep",enabled="y",addr="0x000055555555d9d0",what="exception throw",catch-type="throw",thread-groups=["i1"],times="0"}
=breakpoint-modified,bkpt={number="1",type="breakpoint",disp="keep",enabled="y",addr="0x000055555555d9d0",what="exception throw",catch-type="throw",thread-groups=["i1"],times="0"}
DEBUG>>=library-loaded,id="/lib64/ld-linux-x86-64.so.2",target-name="/lib64/ld-linux-x86-64.so.2",host-name="/lib64/ld-linux-x86-64.so.2",symbols-loaded="0",thread-group="i1"
=library-loaded,id="/lib64/ld-linux-x86-64.so.2",target-name="/lib64/ld-linux-x86-64.so.2",host-name="/lib64/ld-linux-x86-64.so.2",symbols-loaded="0",thread-group="i1"
DEBUG>>00000002^running
Continuing...
DEBUG>>*running,thread-id="all"
*running,thread-id="all"
DEBUG>>=library-loaded,id="/lib/x86_64-linux-gnu/libdl.so.2",target-name="/lib/x86_64-linux-gnu/libdl.so.2",host-name="/lib/x86_64-linux-gnu/libdl.so.2",symbols-loaded="0",thread-group="i1"
=library-loaded,id="/lib/x86_64-linux-gnu/libdl.so.2",target-name="/lib/x86_64-linux-gnu/libdl.so.2",host-name="/lib/x86_64-linux-gnu/libdl.so.2",symbols-loaded="0",thread-group="i1"
DEBUG>>=library-loaded,id="/lib/x86_64-linux-gnu/libpthread.so.0",target-name="/lib/x86_64-linux-gnu/libpthread.so.0",host-name="/lib/x86_64-linux-gnu/libpthread.so.0",symbols-loaded="0",thread-group="i1"
=library-loaded,id="/lib/x86_64-linux-gnu/libpthread.so.0",target-name="/lib/x86_64-linux-gnu/libpthread.so.0",host-name="/lib/x86_64-linux-gnu/libpthread.so.0",symbols-loaded="0",thread-group="i1"
DEBUG>>=library-loaded,id="/usr/lib/x86_64-linux-gnu/libstdc++.so.6",target-name="/usr/lib/x86_64-linux-gnu/libstdc++.so.6",host-name="/usr/lib/x86_64-linux-gnu/libstdc++.so.6",symbols-loaded="0",thread-group="i1"
=library-loaded,id="/usr/lib/x86_64-linux-gnu/libstdc++.so.6",target-name="/usr/lib/x86_64-linux-gnu/libstdc++.so.6",host-name="/usr/lib/x86_64-linux-gnu/libstdc++.so.6",symbols-loaded="0",thread-group="i1"
DEBUG>>=library-loaded,id="/lib/x86_64-linux-gnu/libm.so.6",target-name="/lib/x86_64-linux-gnu/libm.so.6",host-name="/lib/x86_64-linux-gnu/libm.so.6",symbols-loaded="0",thread-group="i1"
=library-loaded,id="/lib/x86_64-linux-gnu/libm.so.6",target-name="/lib/x86_64-linux-gnu/libm.so.6",host-name="/lib/x86_64-linux-gnu/libm.so.6",symbols-loaded="0",thread-group="i1"
DEBUG>>=library-loaded,id="/lib/x86_64-linux-gnu/libgcc_s.so.1",target-name="/lib/x86_64-linux-gnu/libgcc_s.so.1",host-name="/lib/x86_64-linux-gnu/libgcc_s.so.1",symbols-loaded="0",thread-group="i1"
=library-loaded,id="/lib/x86_64-linux-gnu/libgcc_s.so.1",target-name="/lib/x86_64-linux-gnu/libgcc_s.so.1",host-name="/lib/x86_64-linux-gnu/libgcc_s.so.1",symbols-loaded="0",thread-group="i1"
DEBUG>>=library-loaded,id="/lib/x86_64-linux-gnu/libc.so.6",target-name="/lib/x86_64-linux-gnu/libc.so.6",host-name="/lib/x86_64-linux-gnu/libc.so.6",symbols-loaded="0",thread-group="i1"
=library-loaded,id="/lib/x86_64-linux-gnu/libc.so.6",target-name="/lib/x86_64-linux-gnu/libc.so.6",host-name="/lib/x86_64-linux-gnu/libc.so.6",symbols-loaded="0",thread-group="i1"
DEBUG>>~"[Thread debugging using libthread_db enabled]\n"
[Thread debugging using libthread_db enabled]
DEBUG>>~"Using host libthread_db library \"/lib/x86_64-linux-gnu/libthread_db.so.1\".\n"
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
DEBUG>>&"Traceback (most recent call last):\n"
DEBUG>>&"  File \"/usr/share/gdb/auto-load/usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.22-gdb.py\", line 60, in <module>\n"
DEBUG>>&"    from libstdcxx.v6 import register_libstdcxx_printers\n"
DEBUG>>&"ImportError: cannot import name 'register_libstdcxx_printers'\n"
DEBUG>>=breakpoint-modified,bkpt={number="1",type="breakpoint",disp="keep",enabled="y",addr="0x00007ffff76c524d",what="exception throw",catch-type="throw",thread-groups=["i1"],times="0"}
=breakpoint-modified,bkpt={number="1",type="breakpoint",disp="keep",enabled="y",addr="0x00007ffff76c524d",what="exception throw",catch-type="throw",thread-groups=["i1"],times="0"}
DEBUG>>=library-loaded,id="../Lib/libftzengine.so",target-name="../Lib/libftzengine.so",host-name="../Lib/libftzengine.so",symbols-loaded="0",thread-group="i1"
=library-loaded,id="../Lib/libftzengine.so",target-name="../Lib/libftzengine.so",host-name="../Lib/libftzengine.so",symbols-loaded="0",thread-group="i1"
DEBUG>>=library-unloaded,id="../Lib/libftzengine.so",target-name="../Lib/libftzengine.so",host-name="../Lib/libftzengine.so",thread-group="i1"
=library-unloaded,id="../Lib/libftzengine.so",target-name="../Lib/libftzengine.so",host-name="../Lib/libftzengine.so",thread-group="i1"
DEBUG>>=breakpoint-modified,bkpt={number="1",type="breakpoint",disp="keep",enabled="y",addr="0x00007ffff76c524d",what="exception throw",catch-type="throw",thread-groups=["i1"],times="1"}
=breakpoint-modified,bkpt={number="1",type="breakpoint",disp="keep",enabled="y",addr="0x00007ffff76c524d",what="exception throw",catch-type="throw",thread-groups=["i1"],times="1"}
DEBUG>>~"\n"

DEBUG>>~"Catchpoint 1 (exception thrown), 0x00007ffff76c524d in __cxa_throw () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6\n"
Catchpoint 1 (exception thrown), 0x00007ffff76c524d in __cxa_throw () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
DEBUG>>*stopped,reason="breakpoint-hit",disp="keep",bkptno="1",frame={addr="0x00007ffff76c524d",func="__cxa_throw",args=[],from="/usr/lib/x86_64-linux-gnu/libstdc++.so.6"},thread-id="1",stopped-threads="all",core="5"
DEBUG>>00000003-stack-info-frame
DEBUG>>00000004-break-list
DEBUG>>00000003^done,frame={level="0",addr="0x00007ffff76c524d",func="__cxa_throw",from="/usr/lib/x86_64-linux-gnu/libstdc++.so.6"}
DEBUG>>00000005-stack-list-variables 2
DEBUG>>00000006-data-list-register-names
DEBUG>>00000004^done,BreakpointTable={nr_rows="1",nr_cols="6",hdr=[{width="7",alignment="-1",col_name="number",colhdr="Num"},{width="14",alignment="-1",col_name="type",colhdr="Type"},{width="4",alignment="-1",col_name="disp",colhdr="Disp"},{width="3",alignment="-1",col_name="enabled",colhdr="Enb"},{width="18",alignment="-1",col_name="addr",colhdr="Address"},{width="40",alignment="2",col_name="what",colhdr="What"}],body=[bkpt={number="1",type="breakpoint",disp="keep",enabled="y",addr="0x00007ffff76c524d",what="exception throw",catch-type="throw",thread-groups=["i1"],times="1"}]}
DEBUG>>00000005^done,variables=[]
DEBUG>>00000006^done,register-names=["rax","rbx","rcx","rdx","rsi","rdi","rbp","rsp","r8","r9","r10","r11","r12","r13","r14","r15","rip","eflags","cs","ss","ds","es","fs","gs","st0","st1","st2","st3","st4","st5","st6","st7","fctrl","fstat","ftag","fiseg","fioff","foseg","fooff","fop","xmm0","xmm1","xmm2","xmm3","xmm4","xmm5","xmm6","xmm7","xmm8","xmm9","xmm10","xmm11","xmm12","xmm13","xmm14","xmm15","mxcsr","ymm0h","ymm1h","ymm2h","ymm3h","ymm4h","ymm5h","ymm6h","ymm7h","ymm8h","ymm9h","ymm10h","ymm11h","ymm12h","ymm13h","ymm14h","ymm15h","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","orig_rax","al","bl","cl","dl","sil","dil","bpl","spl","r8l","r9l","r10l","r11l","r12l","r13l","r14l","r15l","ah","bh","ch","dh","ax","bx","cx","dx","si","di","bp","","r8w","r9w","r10w","r11w","r12w","r13w","r14w","r15w","eax","ebx","ecx","edx","esi","edi","ebp","esp","r8d","r9d","r10d","r11d","r12d","r13d","r14d","r15d","ymm0","ymm1","ymm2","ymm3","ymm4","ymm5","ymm6","ymm7","ymm8","ymm9","ymm10","ymm11","ymm12","ymm13","ymm14","ymm15"]
DEBUG>>00000007-data-list-register-values N
DEBUG>>00000007^done,register-values=[{number="0",value="0"},{number="1",value="93824994990240"},{number="2",value="93824994988040"},{number="3",value="140737344547824"},{number="4",value="93824994906736"},{number="5",value="93824994990240"},{number="6",value="0x5555557e1270 <typeinfo for std::runtime_error@@GLIBCXX_3.4>"},{number="7",value="0x7fffffffe2c0"},{number="8",value="7813572100839645284"},{number="9",value="8387447767640776762"},{number="10",value="3906"},{number="11",value="140737344459328"},{number="12",value="140737344547824"},{number="13",value="140737488349008"},{number="14",value="0"},{number="15",value="0"},{number="16",value="0x7ffff76c524d <__cxa_throw+13>"},{number="17",value="[ PF IF ]"},{number="18",value="51"},{number="19",value="43"},{number="20",value="0"},{number="21",value="0"},{number="22",value="0"},{number="23",value="0"},{number="24",value="0"},{number="25",value="0"},{number="26",value="0"},{number="27",value="0"},{number="28",value="0"},{number="29",value="0"},{number="30",value="0"},{number="31",value="0"},{number="32",value="895"},{number="33",value="0"},{number="34",value="65535"},{number="35",value="0"},{number="36",value="0"},{number="37",value="0"},{number="38",value="0"},{number="39",value="0"},{number="40",value="{v4_float = {45922488, 8.48106989e+26, 7.30117354e+31, 1.12579514e+24}, v2_double = {1.3206904820455943e+213, 1.6928926867140212e+190}, v16_int8 = {46, 46, 47, 76, 105, 98, 47, 108, 105, 98, 102, 116, 122, 101, 110, 103}, v8_int16 = {11822, 19503, 25193, 27695, 25193, 29798, 25978, 26478}, v4_int32 = {1278160430, 1815044713, 1952866921, 1735288186}, v2_int64 = {7795557684390866478, 7453006009958031977}, uint128 = 0x676e657a746662696c2f62694c2f2e2e}"},{number="41",value="{v4_float = {5.21666356e-11, 1.57916883e-19, 6.74210707e+22, 7.03667176e+22}, v2_double = {1.9716385716666018e-153, 3.9435593806350858e+180}, v16_int8 = {105, 110, 101, 46, 115, 111, 58, 32, 117, 110, 100, 101, 102, 105, 110, 101}, v8_int16 = {28265, 11877, 28531, 8250, 28277, 25956, 26982, 25966}, v4_int32 = {778399337, 540700531, 1701080693, 1701734758}, v2_int64 = {2322291098353233513, 7308895133777555061}, uint128 = 0x656e696665646e75203a6f732e656e69}"},{number="42",value="{v4_float = {0, -nan(0x7f0000), -nan(0x7f0000), -nan(0x7fffff)}, v2_double = {-nan(0xf000000000000), -nan(0xfffffffff0000)}, v16_int8 = {0, 0, 0, 0, 0, 0, -1, -1, 0, 0, -1, -1, -1, -1, -1, -1}, v8_int16 = {0, 0, 0, -1, 0, -1, -1, -1}, v4_int32 = {0, -65536, -65536, -1}, v2_int64 = {-281474976710656, -65536}, uint128 = 0xffffffffffff0000ffff000000000000}"},{number="43",value="{v4_float = {0, -nan(0x7f0000), -nan(0x7fff00), -nan(0x7fffff)}, v2_double = {-nan(0xf000000000000), -nan(0xfffffffffff00)}, v16_int8 = {0, 0, 0, 0, 0, 0, -1, -1, 0, -1, -1, -1, -1, -1, -1, -1}, v8_int16 = {0, 0, 0, -1, -256, -1, -1, -1}, v4_int32 = {0, -65536, -256, -1}, v2_int64 = {-281474976710656, -256}, uint128 = 0xffffffffffffff00ffff000000000000}"},{number="44",value="{v4_float = {0, 0, 0, 0}, v2_double = {0, 0}, v16_int8 = {0 <repeats 16 times>}, v8_int16 = {0, 0, 0, 0, 0, 0, 0, 0}, v4_int32 = {0, 0, 0, 0}, v2_int64 = {0, 0}, uint128 = 0}"},{number="45",value="{v4_float = {1.00802543e+27, 3670.89868, 1.58415503e-10, 2.05919892e-10}, v2_double = {2.0726959731251348e+26, 1.9409576644903404e-80}, v16_int8 = {108, 116, 80, 108, 97, 110, 101, 69, 0, 46, 46, 47, 76, 105, 98, 47}, v8_int16 = {29804, 27728, 28257, 17765, 11776, 12078, 26956, 12130}, v4_int32 = {1817212012, 1164275297, 791555584, 794978636}, v2_int64 = {5000524325972898924, 3414407243430243840}, uint128 = 0x2f62694c2f2e2e0045656e616c50746c}"},{number="46",value="{v4_float = {8.54698158e-07, 1.77480357e+28, 712.77179, 2.85728418e+32}, v2_double = {6.1849577292405147e+223, 2.6126132591982304e+257}, v16_int8 = {105, 110, 101, 53, 83, 99, 101, 110, 101, 49, 50, 68, 101, 102, 97, 117}, v8_int16 = {28265, 13669, 25427, 28261, 12645, 17458, 26213, 30049}, v4_int32 = {895839849, 1852138323, 1144140133, 1969317477}, v2_int64 = {7954873525849124457, 8458154160300372325}, uint128 = 0x75616665443231656e65635335656e69}"},{number="47",value="{v4_float = {0.000901928288, 915916800, 3.1724832e+35, 1.12519994e+24}, v2_double = {2.8439061558958112e+69, 1.6858731871003627e+190}, v16_int8 = {98, 111, 108, 58, 32, 95, 90, 78, 51, 102, 116, 122, 54, 69, 110, 103}, v8_int16 = {28514, 14956, 24352, 20058, 26163, 31348, 17718, 26478}, v4_int32 = {980184930, 1314545440, 2054448691, 1735279926}, v2_int64 = {5645929674886115170, 7452970533629748787}, uint128 = 0x676e45367a7466334e5a5f203a6c6f62}"},{number="48",value="{v4_float = {0, 0, 0, 0}, v2_double = {0, 0}, v16_int8 = {0 <repeats 16 times>}, v8_int16 = {0, 0, 0, 0, 0, 0, 0, 0}, v4_int32 = {0, 0, 0, 0}, v2_int64 = {0, 0}, uint128 = 0}"},{number="49",value="{v4_float = {0, 0, 0, 0}, v2_double = {0, 0}, v16_int8 = {0 <repeats 16 times>}, v8_int16 = {0, 0, 0, 0, 0, 0, 0, 0}, v4_int32 = {0, 0, 0, 0}, v2_int64 = {0, 0}, uint128 = 0}"},{number="50",value="{v4_float = {0, 0, 0, 0}, v2_double = {0, 0}, v16_int8 = {0 <repeats 16 times>}, v8_int16 = {0, 0, 0, 0, 0, 0, 0, 0}, v4_int32 = {0, 0, 0, 0}, v2_int64 = {0, 0}, uint128 = 0}"},{number="51",value="{v4_float = {0, 0, 0, 0}, v2_double = {0, 0}, v16_int8 = {0 <repeats 16 times>}, v8_int16 = {0, 0, 0, 0, 0, 0, 0, 0}, v4_int32 = {0, 0, 0, 0}, v2_int64 = {0, 0}, uint128 = 0}"},{number="52",value="{v4_float = {0, 0, 0, 0}, v2_double = {0, 0}, v16_int8 = {0 <repeats 16 times>}, v8_int16 = {0, 0, 0, 0, 0, 0, 0, 0}, v4_int32 = {0, 0, 0, 0}, v2_int64 = {0, 0}, uint128 = 0}"},{number="53",value="{v4_float = {0, 0, 0, 0}, v2_double = {0, 0}, v16_int8 = {0 <repeats 16 times>}, v8_int16 = {0, 0, 0, 0, 0, 0, 0, 0}, v4_int32 = {0, 0, 0, 0}, v2_int64 = {0, 0}, uint128 = 0}"},{number="54",value="{v4_float = {0, 0, 0, 0}, v2_double = {0, 0}, v16_int8 = {0 <repeats 16 times>}, v8_int16 = {0, 0, 0, 0, 0, 0, 0, 0}, v4_int32 = {0, 0, 0, 0}, v2_int64 = {0, 0}, uint128 = 0}"},{number="55",value="{v4_float = {0, 0, 0, 0}, v2_double = {0, 0}, v16_int8 = {0 <repeats 16 times>}, v8_int16 = {0, 0, 0, 0, 0, 0, 0, 0}, v4_int32 = {0, 0, 0, 0}, v2_int64 = {0, 0}, uint128 = 0}"},{number="56",value="[ IM DM ZM OM UM PM ]"},{number="57",value="0"},{number="58",value="0"},{number="59",value="0"},{number="60",value="0"},{number="61",value="0"},{number="62",value="0"},{number="63",value="0"},{number="64",value="0"},{number="65",value="0"},{number="66",value="0"},{number="67",value="0"},{number="68",value="0"},{number="69",value="0"},{number="70",value="0"},{number="71",value="0"},{number="72",value="0"},{number="151",value="-1"},{number="152",value="0"},{number="153",value="-96"},{number="154",value="8"},{number="155",value="-16"},{number="156",value="112"},{number="157",value="-96"},{number="158",value="112"},{number="159",value="-64"},{number="160",value="100"},{number="161",value="58"},{number="162",value="66"},{number="163",value="64"},{number="164",value="-16"},{number="165",value="80"},{number="166",value="0"},{number="167",value="0"},{number="168",value="0"},{number="169",value="88"},{number="170",value="80"},{number="171",value="-85"},{number="172",value="0"},{number="173",value="22688"},{number="174",value="20488"},{number="175",value="-21520"},{number="176",value="4720"},{number="177",value="22688"},{number="178",value="4720"},{number="180",value="8292"},{number="181",value="8250"},{number="182",value="3906"},{number="183",value="21056"},{number="184",value="-21520"},{number="185",value="-6320"},{number="186",value="0"},{number="187",value="0"},{number="188",value="0"},{number="189",value="1434409120"},{number="190",value="1434406920"},{number="191",value="-143807504"},{number="192",value="1434325616"},{number="193",value="1434409120"},{number="194",value="1434325616"},{number="195",value="-7488"},{number="196",value="2037588068"},{number="197",value="1516183610"},{number="198",value="3906"},{number="199",value="-143896000"},{number="200",value="-143807504"},{number="201",value="-6320"},{number="202",value="0"},{number="203",value="0"},{number="204",value="{v8_float = {45922488, 8.48106989e+26, 7.30117354e+31, 1.12579514e+24, 0, 0, 0, 0}, v4_double = {1.3206904820455943e+213, 1.6928926867140212e+190, 0, 0}, v32_int8 = {46, 46, 47, 76, 105, 98, 47, 108, 105, 98, 102, 116, 122, 101, 110, 103, 0 <repeats 16 times>}, v16_int16 = {11822, 19503, 25193, 27695, 25193, 29798, 25978, 26478, 0, 0, 0, 0, 0, 0, 0, 0}, v8_int32 = {1278160430, 1815044713, 1952866921, 1735288186, 0, 0, 0, 0}, v4_int64 = {7795557684390866478, 7453006009958031977, 0, 0}, v2_int128 = {0x676e657a746662696c2f62694c2f2e2e, 0x00000000000000000000000000000000}}"},{number="205",value="{v8_float = {5.21666356e-11, 1.57916883e-19, 6.74210707e+22, 7.03667176e+22, 0, 0, 0, 0}, v4_double = {1.9716385716666018e-153, 3.9435593806350858e+180, 0, 0}, v32_int8 = {105, 110, 101, 46, 115, 111, 58, 32, 117, 110, 100, 101, 102, 105, 110, 101, 0 <repeats 16 times>}, v16_int16 = {28265, 11877, 28531, 8250, 28277, 25956, 26982, 25966, 0, 0, 0, 0, 0, 0, 0, 0}, v8_int32 = {778399337, 540700531, 1701080693, 1701734758, 0, 0, 0, 0}, v4_int64 = {2322291098353233513, 7308895133777555061, 0, 0}, v2_int128 = {0x656e696665646e75203a6f732e656e69, 0x00000000000000000000000000000000}}"},{number="206",value="{v8_float = {0, -nan(0x7f0000), -nan(0x7f0000), -nan(0x7fffff), 0, 0, 0, 0}, v4_double = {-nan(0xf000000000000), -nan(0xfffffffff0000), 0, 0}, v32_int8 = {0, 0, 0, 0, 0, 0, -1, -1, 0, 0, -1, -1, -1, -1, -1, -1, 0 <repeats 16 times>}, v16_int16 = {0, 0, 0, -1, 0, -1, -1, -1, 0, 0, 0, 0, 0, 0, 0, 0}, v8_int32 = {0, -65536, -65536, -1, 0, 0, 0, 0}, v4_int64 = {-281474976710656, -65536, 0, 0}, v2_int128 = {0xffffffffffff0000ffff000000000000, 0x00000000000000000000000000000000}}"},{number="207",value="{v8_float = {0, -nan(0x7f0000), -nan(0x7fff00), -nan(0x7fffff), 0, 0, 0, 0}, v4_double = {-nan(0xf000000000000), -nan(0xfffffffffff00), 0, 0}, v32_int8 = {0, 0, 0, 0, 0, 0, -1, -1, 0, -1, -1, -1, -1, -1, -1, -1, 0 <repeats 16 times>}, v16_int16 = {0, 0, 0, -1, -256, -1, -1, -1, 0, 0, 0, 0, 0, 0, 0, 0}, v8_int32 = {0, -65536, -256, -1, 0, 0, 0, 0}, v4_int64 = {-281474976710656, -256, 0, 0}, v2_int128 = {0xffffffffffffff00ffff000000000000, 0x00000000000000000000000000000000}}"},{number="208",value="{v8_float = {0, 0, 0, 0, 0, 0, 0, 0}, v4_double = {0, 0, 0, 0}, v32_int8 = {0 <repeats 32 times>}, v16_int16 = {0 <repeats 16 times>}, v8_int32 = {0, 0, 0, 0, 0, 0, 0, 0}, v4_int64 = {0, 0, 0, 0}, v2_int128 = {0x00000000000000000000000000000000, 0x00000000000000000000000000000000}}"},{number="209",value="{v8_float = {1.00802543e+27, 3670.89868, 1.58415503e-10, 2.05919892e-10, 0, 0, 0, 0}, v4_double = {2.0726959731251348e+26, 1.9409576644903404e-80, 0, 0}, v32_int8 = {108, 116, 80, 108, 97, 110, 101, 69, 0, 46, 46, 47, 76, 105, 98, 47, 0 <repeats 16 times>}, v16_int16 = {29804, 27728, 28257, 17765, 11776, 12078, 26956, 12130, 0, 0, 0, 0, 0, 0, 0, 0}, v8_int32 = {1817212012, 1164275297, 791555584, 794978636, 0, 0, 0, 0}, v4_int64 = {5000524325972898924, 3414407243430243840, 0, 0}, v2_int128 = {0x2f62694c2f2e2e0045656e616c50746c, 0x00000000000000000000000000000000}}"},{number="210",value="{v8_float = {8.54698158e-07, 1.77480357e+28, 712.77179, 2.85728418e+32, 0, 0, 0, 0}, v4_double = {6.1849577292405147e+223, 2.6126132591982304e+257, 0, 0}, v32_int8 = {105, 110, 101, 53, 83, 99, 101, 110, 101, 49, 50, 68, 101, 102, 97, 117, 0 <repeats 16 times>}, v16_int16 = {28265, 13669, 25427, 28261, 12645, 17458, 26213, 30049, 0, 0, 0, 0, 0, 0, 0, 0}, v8_int32 = {895839849, 1852138323, 1144140133, 1969317477, 0, 0, 0, 0}, v4_int64 = {7954873525849124457, 8458154160300372325, 0, 0}, v2_int128 = {0x75616665443231656e65635335656e69, 0x00000000000000000000000000000000}}"},{number="211",value="{v8_float = {0.000901928288, 915916800, 3.1724832e+35, 1.12519994e+24, 0, 0, 0, 0}, v4_double = {2.8439061558958112e+69, 1.6858731871003627e+190, 0, 0}, v32_int8 = {98, 111, 108, 58, 32, 95, 90, 78, 51, 102, 116, 122, 54, 69, 110, 103, 0 <repeats 16 times>}, v16_int16 = {28514, 14956, 24352, 20058, 26163, 31348, 17718, 26478, 0, 0, 0, 0, 0, 0, 0, 0}, v8_int32 = {980184930, 1314545440, 2054448691, 1735279926, 0, 0, 0, 0}, v4_int64 = {5645929674886115170, 7452970533629748787, 0, 0}, v2_int128 = {0x676e45367a7466334e5a5f203a6c6f62, 0x00000000000000000000000000000000}}"},{number="212",value="{v8_float = {0, 0, 0, 0, 0, 0, 0, 0}, v4_double = {0, 0, 0, 0}, v32_int8 = {0 <repeats 32 times>}, v16_int16 = {0 <repeats 16 times>}, v8_int32 = {0, 0, 0, 0, 0, 0, 0, 0}, v4_int64 = {0, 0, 0, 0}, v2_int128 = {0x00000000000000000000000000000000, 0x00000000000000000000000000000000}}"},{number="213",value="{v8_float = {0, 0, 0, 0, 0, 0, 0, 0}, v4_double = {0, 0, 0, 0}, v32_int8 = {0 <repeats 32 times>}, v16_int16 = {0 <repeats 16 times>}, v8_int32 = {0, 0, 0, 0, 0, 0, 0, 0}, v4_int64 = {0, 0, 0, 0}, v2_int128 = {0x00000000000000000000000000000000, 0x00000000000000000000000000000000}}"},{number="214",value="{v8_float = {0, 0, 0, 0, 0, 0, 0, 0}, v4_double = {0, 0, 0, 0}, v32_int8 = {0 <repeats 32 times>}, v16_int16 = {0 <repeats 16 times>}, v8_int32 = {0, 0, 0, 0, 0, 0, 0, 0}, v4_int64 = {0, 0, 0, 0}, v2_int128 = {0x00000000000000000000000000000000, 0x00000000000000000000000000000000}}"},{number="215",value="{v8_float = {0, 0, 0, 0, 0, 0, 0, 0}, v4_double = {0, 0, 0, 0}, v32_int8 = {0 <repeats 32 times>}, v16_int16 = {0 <repeats 16 times>}, v8_int32 = {0, 0, 0, 0, 0, 0, 0, 0}, v4_int64 = {0, 0, 0, 0}, v2_int128 = {0x00000000000000000000000000000000, 0x00000000000000000000000000000000}}"},{number="216",value="{v8_float = {0, 0, 0, 0, 0, 0, 0, 0}, v4_double = {0, 0, 0, 0}, v32_int8 = {0 <repeats 32 times>}, v16_int16 = {0 <repeats 16 times>}, v8_int32 = {0, 0, 0, 0, 0, 0, 0, 0}, v4_int64 = {0, 0, 0, 0}, v2_int128 = {0x00000000000000000000000000000000, 0x00000000000000000000000000000000}}"},{number="217",value="{v8_float = {0, 0, 0, 0, 0, 0, 0, 0}, v4_double = {0, 0, 0, 0}, v32_int8 = {0 <repeats 32 times>}, v16_int16 = {0 <repeats 16 times>}, v8_int32 = {0, 0, 0, 0, 0, 0, 0, 0}, v4_int64 = {0, 0, 0, 0}, v2_int128 = {0x00000000000000000000000000000000, 0x00000000000000000000000000000000}}"},{number="218",value="{v8_float = {0, 0, 0, 0, 0, 0, 0, 0}, v4_double = {0, 0, 0, 0}, v32_int8 = {0 <repeats 32 times>}, v16_int16 = {0 <repeats 16 times>}, v8_int32 = {0, 0, 0, 0, 0, 0, 0, 0}, v4_int64 = {0, 0, 0, 0}, v2_int128 = {0x00000000000000000000000000000000, 0x00000000000000000000000000000000}}"},{number="219",value="{v8_float = {0, 0, 0, 0, 0, 0, 0, 0}, v4_double = {0, 0, 0, 0}, v32_int8 = {0 <repeats 32 times>}, v16_int16 = {0 <repeats 16 times>}, v8_int32 = {0, 0, 0, 0, 0, 0, 0, 0}, v4_int64 = {0, 0, 0, 0}, v2_int128 = {0x00000000000000000000000000000000, 0x00000000000000000000000000000000}}"}]
DEBUG>>00000008-stack-list-frames 0 500
DEBUG>>00000008^done,stack=[frame={level="0",addr="0x00007ffff76c524d",func="__cxa_throw",from="/usr/lib/x86_64-linux-gnu/libstdc++.so.6"},frame={level="1",addr="0x000055555556e94b",func="ftz::Platform::Library::Library",file="./Src/Library.cpp",fullname="./Build/./Src/Library.cpp",line="25"},frame={level="2",addr="0x000055555556d5d8",func="ftz::Engine::PlatformLibrary::PlatformLibrary",file="./Src/Drivers/Library/PlatformLibraryDriver.cpp",fullname="./Build/./Src/Drivers/Library/PlatformLibraryDriver.cpp",line="18"},frame={level="3",addr="0x000055555556d682",func="std::make_unique<ftz::Engine::PlatformLibrary, std::experimental::filesystem::v1::__cxx11::path const&>",file="/usr/include/c++/6/bits/unique_ptr.h",fullname="/usr/include/c++/6/bits/unique_ptr.h",line="791"},frame={level="4",addr="0x000055555556d682",func="ftz::Engine::Drivers::PlatformLibraryDriver::OpenLibrary",file="./Src/Drivers/Library/PlatformLibraryDriver.cpp",fullname="./Build/./Src/Drivers/Library/PlatformLibraryDriver.cpp",line="60"},frame={level="5",addr="0x0000555555561435",func="ftz::Engine::Loader::Loader",file="/home/fatony/Stuff/C++/ftz/Engine/Src/Engine/Src/Export/Loader.cpp",fullname="/home/fatony/Stuff/C++/ftz/Engine/Src/Engine/Src/Export/Loader.cpp",line="34"},frame={level="6",addr="0x000055555555e105",func="main",file="/home/fatony/Stuff/C++/ftz/Engine/Src/Server/Src/Main.cpp",fullname="/home/fatony/Stuff/C++/ftz/Engine/Src/Server/Src/Main.cpp",line="44"}]
DEBUG>>00000009-exec-continue
DEBUG>>00000009^running
Continuing...
DEBUG>>*running,thread-id="all"
*running,thread-id="all"
DEBUG>>~"[Inferior 1 (process 10246) exited normally]\n"
[Inferior 1 (process 10246) exited normally]
DEBUG>>=thread-exited,id="1",group-id="i1"
=thread-exited,id="1",group-id="i1"
DEBUG>>=thread-group-exited,id="i1",exit-code="0"
=thread-group-exited,id="i1",exit-code="0"
DEBUG>>*stopped,reason="exited-normally"
Program exited normally.
Debug session ended
Using gdbinit file: /tmp/codelite_gdbinit.txt
Current working dir: /home/fatony/Stuff/C++/ftz/Engine/Src/IDE/CodeLite/Server
Launching gdb from : ../../../../Bin
Starting debugger  : /usr/bin/gdb --command="/tmp/codelite_gdbinit.txt" --tty=/dev/pts/7 --interpreter=mi "./ftz-engine-server"
DEBUG>>set unwindonsignal on
DEBUG>>set breakpoint pending on
DEBUG>>catch throw
DEBUG>>set print object on
DEBUG>>set width 0
DEBUG>>set height 0
DEBUG>>set print elements 200
DEBUG>>python
DEBUG>>import sys
DEBUG>>sys.path.insert(0, '/home/fatony/.codelite/gdb_printers')
DEBUG>>from libstdcxx.v6.printers import register_libstdcxx_printers
DEBUG>>register_libstdcxx_printers (None)
DEBUG>>from qt4 import register_qt4_printers
DEBUG>>register_qt4_printers (None)
DEBUG>>from wx import register_wx_printers
DEBUG>>register_wx_printers (None)
DEBUG>>from boost.printers import register_printer_gen
DEBUG>>register_printer_gen(None)
DEBUG>>end
Debug session started successfully!
DEBUG>>00000010-exec-arguments 
DEBUG>>00000011-exec-run 
DEBUG>>=thread-group-added,id="i1"
=thread-group-added,id="i1"
DEBUG>>~"GNU gdb (Debian 7.12-6) 7.12.0.20161007-git\n"
GNU gdb (Debian 7.12-6) 7.12.0.20161007-git
DEBUG>>~"Copyright (C) 2016 Free Software Foundation, Inc.\n"
Copyright (C) 2016 Free Software Foundation, Inc.
DEBUG>>~"License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>\nThis is free software: you are free to change and redistribute it.\nThere is NO WARRANTY, to the extent permitted by law.  Type \"show copying\"\nand \"show warranty\" for details.\n"
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>\nThis is free software: you are free to change and redistribute it.\nThere is NO WARRANTY, to the extent permitted by law.  Type "show copying"\nand "show warranty" for details.
DEBUG>>~"This GDB was configured as \"x86_64-linux-gnu\".\nType \"show configuration\" for configuration details."
This GDB was configured as "x86_64-linux-gnu".\nType "show configuration" for configuration details.
DEBUG>>~"\nFor bug reporting instructions, please see:\n"
\nFor bug reporting instructions, please see:
DEBUG>>~"<http://www.gnu.org/software/gdb/bugs/>.\n"
<http://www.gnu.org/software/gdb/bugs/>.
DEBUG>>~"Find the GDB manual and other documentation resources online at:\n<http://www.gnu.org/software/gdb/documentation/>.\n"
Find the GDB manual and other documentation resources online at:\n<http://www.gnu.org/software/gdb/documentation/>.
DEBUG>>~"For help, type \"help\".\n"
For help, type "help".
DEBUG>>~"Type \"apropos word\" to search for commands related to \"word\"...\n"
Type "apropos word" to search for commands related to "word"...
DEBUG>>~"Reading symbols from ./ftz-engine-server..."
Reading symbols from ./ftz-engine-server...
DEBUG>>~"done.\n"
done.
DEBUG>>&"Traceback (most recent call last):\n"
DEBUG>>&"  File \"<string>\", line 13, in <module>\n"
DEBUG>>&"  File \"/home/fatony/.codelite/gdb_printers/boost/printers.py\", line 1223\n"
DEBUG>>&"    return long(str(parse_and_eval('*((void**)' + str(node_ptr) + ')')), 16) & (~1L)\n"
DEBUG>>&"                                                                                  ^\n"
DEBUG>>&"SyntaxError: invalid syntax\n"
DEBUG>>&"/tmp/codelite_gdbinit.txt:17: Error in sourced command file:\n"
DEBUG>>&"Error while executing Python code.\n"
DEBUG>>&"set unwindonsignal on\n"
DEBUG>>=cmd-param-changed,param="unwindonsignal",value="on"
=cmd-param-changed,param="unwindonsignal",value="on"
DEBUG>>^done
DEBUG>>&"set breakpoint pending on\n"
DEBUG>>=cmd-param-changed,param="breakpoint pending",value="on"
=cmd-param-changed,param="breakpoint pending",value="on"
DEBUG>>^done
DEBUG>>&"catch throw\n"
DEBUG>>~"Catchpoint 1 (throw)\n"
Catchpoint 1 (throw)
DEBUG>>=breakpoint-created,bkpt={number="1",type="breakpoint",disp="keep",enabled="y",addr="0x00000000000099d0",what="exception throw",catch-type="throw",thread-groups=["i1"],times="0"}
=breakpoint-created,bkpt={number="1",type="breakpoint",disp="keep",enabled="y",addr="0x00000000000099d0",what="exception throw",catch-type="throw",thread-groups=["i1"],times="0"}
DEBUG>>^done
DEBUG>>&"set print object on\n"
DEBUG>>=cmd-param-changed,param="print object",value="on"
=cmd-param-changed,param="print object",value="on"
DEBUG>>^done
DEBUG>>&"set width 0\n"
DEBUG>>=cmd-param-changed,param="width",value="4294967295"
=cmd-param-changed,param="width",value="4294967295"
DEBUG>>^done
DEBUG>>&"set height 0\n"
DEBUG>>=cmd-param-changed,param="height",value="4294967295"
=cmd-param-changed,param="height",value="4294967295"
DEBUG>>^done
DEBUG>>&"set print elements 200\n"
DEBUG>>^done
DEBUG>>&"python\n"
DEBUG>>&"Traceback (most recent call last):\n"
DEBUG>>&"  File \"<string>\", line 4, in <module>\n"
DEBUG>>&"  File \"/home/fatony/.codelite/gdb_printers/libstdcxx/v6/printers.py\", line 1023, in register_libstdcxx_printers\n"
DEBUG>>&"    gdb.printing.register_pretty_printer(obj, libstdcxx_printer)\n"
DEBUG>>&"  File \"/usr/share/gdb/python/gdb/printing.py\", line 152, in register_pretty_printer\n"
DEBUG>>&"    printer.name)\n"
DEBUG>>&"RuntimeError: pretty-printer already registered: libstdc++-v6\n"
DEBUG>>&"Error while executing Python code.\n"
DEBUG>>^error,msg="Error while executing Python code."
^error,msg="Error while executing Python code."
DEBUG>>00000010^done
>> Debuggee process ID: 10378
DEBUG>>=thread-group-started,id="i1",pid="10378"
=thread-group-started,id="i1",pid="10378"
DEBUG>>=thread-created,id="1",group-id="i1"
=thread-created,id="1",group-id="i1"
DEBUG>>=breakpoint-modified,bkpt={number="1",type="breakpoint",disp="keep",enabled="y",addr="0x000055555555d9d0",what="exception throw",catch-type="throw",thread-groups=["i1"],times="0"}
=breakpoint-modified,bkpt={number="1",type="breakpoint",disp="keep",enabled="y",addr="0x000055555555d9d0",what="exception throw",catch-type="throw",thread-groups=["i1"],times="0"}
DEBUG>>=library-loaded,id="/lib64/ld-linux-x86-64.so.2",target-name="/lib64/ld-linux-x86-64.so.2",host-name="/lib64/ld-linux-x86-64.so.2",symbols-loaded="0",thread-group="i1"
=library-loaded,id="/lib64/ld-linux-x86-64.so.2",target-name="/lib64/ld-linux-x86-64.so.2",host-name="/lib64/ld-linux-x86-64.so.2",symbols-loaded="0",thread-group="i1"
DEBUG>>00000011^running
Continuing...
DEBUG>>*running,thread-id="all"
*running,thread-id="all"
DEBUG>>=library-loaded,id="/lib/x86_64-linux-gnu/libdl.so.2",target-name="/lib/x86_64-linux-gnu/libdl.so.2",host-name="/lib/x86_64-linux-gnu/libdl.so.2",symbols-loaded="0",thread-group="i1"
=library-loaded,id="/lib/x86_64-linux-gnu/libdl.so.2",target-name="/lib/x86_64-linux-gnu/libdl.so.2",host-name="/lib/x86_64-linux-gnu/libdl.so.2",symbols-loaded="0",thread-group="i1"
DEBUG>>=library-loaded,id="/lib/x86_64-linux-gnu/libpthread.so.0",target-name="/lib/x86_64-linux-gnu/libpthread.so.0",host-name="/lib/x86_64-linux-gnu/libpthread.so.0",symbols-loaded="0",thread-group="i1"
=library-loaded,id="/lib/x86_64-linux-gnu/libpthread.so.0",target-name="/lib/x86_64-linux-gnu/libpthread.so.0",host-name="/lib/x86_64-linux-gnu/libpthread.so.0",symbols-loaded="0",thread-group="i1"
DEBUG>>=library-loaded,id="/usr/lib/x86_64-linux-gnu/libstdc++.so.6",target-name="/usr/lib/x86_64-linux-gnu/libstdc++.so.6",host-name="/usr/lib/x86_64-linux-gnu/libstdc++.so.6",symbols-loaded="0",thread-group="i1"
=library-loaded,id="/usr/lib/x86_64-linux-gnu/libstdc++.so.6",target-name="/usr/lib/x86_64-linux-gnu/libstdc++.so.6",host-name="/usr/lib/x86_64-linux-gnu/libstdc++.so.6",symbols-loaded="0",thread-group="i1"
DEBUG>>=library-loaded,id="/lib/x86_64-linux-gnu/libm.so.6",target-name="/lib/x86_64-linux-gnu/libm.so.6",host-name="/lib/x86_64-linux-gnu/libm.so.6",symbols-loaded="0",thread-group="i1"
=library-loaded,id="/lib/x86_64-linux-gnu/libm.so.6",target-name="/lib/x86_64-linux-gnu/libm.so.6",host-name="/lib/x86_64-linux-gnu/libm.so.6",symbols-loaded="0",thread-group="i1"
DEBUG>>=library-loaded,id="/lib/x86_64-linux-gnu/libgcc_s.so.1",target-name="/lib/x86_64-linux-gnu/libgcc_s.so.1",host-name="/lib/x86_64-linux-gnu/libgcc_s.so.1",symbols-loaded="0",thread-group="i1"
=library-loaded,id="/lib/x86_64-linux-gnu/libgcc_s.so.1",target-name="/lib/x86_64-linux-gnu/libgcc_s.so.1",host-name="/lib/x86_64-linux-gnu/libgcc_s.so.1",symbols-loaded="0",thread-group="i1"
DEBUG>>=library-loaded,id="/lib/x86_64-linux-gnu/libc.so.6",target-name="/lib/x86_64-linux-gnu/libc.so.6",host-name="/lib/x86_64-linux-gnu/libc.so.6",symbols-loaded="0",thread-group="i1"
=library-loaded,id="/lib/x86_64-linux-gnu/libc.so.6",target-name="/lib/x86_64-linux-gnu/libc.so.6",host-name="/lib/x86_64-linux-gnu/libc.so.6",symbols-loaded="0",thread-group="i1"
DEBUG>>~"[Thread debugging using libthread_db enabled]\n"
[Thread debugging using libthread_db enabled]
DEBUG>>~"Using host libthread_db library \"/lib/x86_64-linux-gnu/libthread_db.so.1\".\n"
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
DEBUG>>&"Traceback (most recent call last):\n"
DEBUG>>&"  File \"/usr/share/gdb/auto-load/usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.22-gdb.py\", line 60, in <module>\n"
DEBUG>>&"    from libstdcxx.v6 import register_libstdcxx_printers\n"
DEBUG>>&"ImportError: cannot import name 'register_libstdcxx_printers'\n"
DEBUG>>=breakpoint-modified,bkpt={number="1",type="breakpoint",disp="keep",enabled="y",addr="0x00007ffff76c524d",what="exception throw",catch-type="throw",thread-groups=["i1"],times="0"}
=breakpoint-modified,bkpt={number="1",type="breakpoint",disp="keep",enabled="y",addr="0x00007ffff76c524d",what="exception throw",catch-type="throw",thread-groups=["i1"],times="0"}
DEBUG>>=library-loaded,id="../Lib/libftzengine.so",target-name="../Lib/libftzengine.so",host-name="../Lib/libftzengine.so",symbols-loaded="0",thread-group="i1"
=library-loaded,id="../Lib/libftzengine.so",target-name="../Lib/libftzengine.so",host-name="../Lib/libftzengine.so",symbols-loaded="0",thread-group="i1"
DEBUG>>=library-unloaded,id="../Lib/libftzengine.so",target-name="../Lib/libftzengine.so",host-name="../Lib/libftzengine.so",thread-group="i1"
=library-unloaded,id="../Lib/libftzengine.so",target-name="../Lib/libftzengine.so",host-name="../Lib/libftzengine.so",thread-group="i1"
DEBUG>>=breakpoint-modified,bkpt={number="1",type="breakpoint",disp="keep",enabled="y",addr="0x00007ffff76c524d",what="exception throw",catch-type="throw",thread-groups=["i1"],times="1"}
=breakpoint-modified,bkpt={number="1",type="breakpoint",disp="keep",enabled="y",addr="0x00007ffff76c524d",what="exception throw",catch-type="throw",thread-groups=["i1"],times="1"}
DEBUG>>~"\n"

DEBUG>>~"Catchpoint 1 (exception thrown), 0x00007ffff76c524d in __cxa_throw () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6\n"
Catchpoint 1 (exception thrown), 0x00007ffff76c524d in __cxa_throw () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
DEBUG>>*stopped,reason="breakpoint-hit",disp="keep",bkptno="1",frame={addr="0x00007ffff76c524d",func="__cxa_throw",args=[],from="/usr/lib/x86_64-linux-gnu/libstdc++.so.6"},thread-id="1",stopped-threads="all",core="0"
DEBUG>>00000012-stack-info-frame
DEBUG>>00000013-break-list
DEBUG>>00000012^done,frame={level="0",addr="0x00007ffff76c524d",func="__cxa_throw",from="/usr/lib/x86_64-linux-gnu/libstdc++.so.6"}
DEBUG>>00000014-stack-list-frames 0 500
DEBUG>>00000013^done,BreakpointTable={nr_rows="1",nr_cols="6",hdr=[{width="7",alignment="-1",col_name="number",colhdr="Num"},{width="14",alignment="-1",col_name="type",colhdr="Type"},{width="4",alignment="-1",col_name="disp",colhdr="Disp"},{width="3",alignment="-1",col_name="enabled",colhdr="Enb"},{width="18",alignment="-1",col_name="addr",colhdr="Address"},{width="40",alignment="2",col_name="what",colhdr="What"}],body=[bkpt={number="1",type="breakpoint",disp="keep",enabled="y",addr="0x00007ffff76c524d",what="exception throw",catch-type="throw",thread-groups=["i1"],times="1"}]}
DEBUG>>00000014^done,stack=[frame={level="0",addr="0x00007ffff76c524d",func="__cxa_throw",from="/usr/lib/x86_64-linux-gnu/libstdc++.so.6"},frame={level="1",addr="0x000055555556e94b",func="ftz::Platform::Library::Library",file="./Src/Library.cpp",fullname="./Build/./Src/Library.cpp",line="25"},frame={level="2",addr="0x000055555556d5d8",func="ftz::Engine::PlatformLibrary::PlatformLibrary",file="./Src/Drivers/Library/PlatformLibraryDriver.cpp",fullname="./Build/./Src/Drivers/Library/PlatformLibraryDriver.cpp",line="18"},frame={level="3",addr="0x000055555556d682",func="std::make_unique<ftz::Engine::PlatformLibrary, std::experimental::filesystem::v1::__cxx11::path const&>",file="/usr/include/c++/6/bits/unique_ptr.h",fullname="/usr/include/c++/6/bits/unique_ptr.h",line="791"},frame={level="4",addr="0x000055555556d682",func="ftz::Engine::Drivers::PlatformLibraryDriver::OpenLibrary",file="./Src/Drivers/Library/PlatformLibraryDriver.cpp",fullname="./Build/./Src/Drivers/Library/PlatformLibraryDriver.cpp",line="60"},frame={level="5",addr="0x0000555555561435",func="ftz::Engine::Loader::Loader",file="/home/fatony/Stuff/C++/ftz/Engine/Src/Engine/Src/Export/Loader.cpp",fullname="/home/fatony/Stuff/C++/ftz/Engine/Src/Engine/Src/Export/Loader.cpp",line="34"},frame={level="6",addr="0x000055555555e105",func="main",file="/home/fatony/Stuff/C++/ftz/Engine/Src/Server/Src/Main.cpp",fullname="/home/fatony/Stuff/C++/ftz/Engine/Src/Server/Src/Main.cpp",line="44"}]
User avatar
eranif
CodeLite Plugin
Posts: 6375
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: The path to source files are broken during debug

Post by eranif »

From the debugger log, you can see that this is what the debugger passes back to CodeLite:
{level="4",addr="0x000055555556d682",func="ftz::Engine::Drivers::PlatformLibraryDriver::OpenLibrary",file="./Src/Drivers/Library/PlatformLibraryDriver.cpp",fullname="./Build/./Src/Drivers/Library/PlatformLibraryDriver.cpp",line="60"},frame=
Are you using custom makefile to build your code?
Eran
Make sure you have read the HOW TO POST thread
Lyberta
CodeLite Enthusiast
Posts: 10
Joined: Mon Feb 20, 2017 12:17 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: The path to source files are broken during debug

Post by Lyberta »

Sometimes, but this time I've specifically rebuilt using CodeLite.
User avatar
eranif
CodeLite Plugin
Posts: 6375
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: The path to source files are broken during debug

Post by eranif »

Still, the paths are coming from GDB. CodeLite is the IDE not the debugger...
You need to understand why does GDB returns wrong paths

Are you using some kind of custom Makefile or the makefiles are generated by CodeLite?
Make sure you have read the HOW TO POST thread
Lyberta
CodeLite Enthusiast
Posts: 10
Joined: Mon Feb 20, 2017 12:17 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: The path to source files are broken during debug

Post by Lyberta »

I have a vanilla CodeLite project which I usually use to build libraries on my machine. I also have CMakeLists.txt which is for people who don't have CodeLite and for building .deb packages. CMakeLists.txt is maintained separately from CodeLite projects.
User avatar
eranif
CodeLite Plugin
Posts: 6375
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: The path to source files are broken during debug

Post by eranif »

Can you post the build output for the libraries?
Thanks
Make sure you have read the HOW TO POST thread
Lyberta
CodeLite Enthusiast
Posts: 10
Joined: Mon Feb 20, 2017 12:17 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: The path to source files are broken during debug

Post by Lyberta »

ftz Platform

Code: Select all

/bin/sh -c '/usr/bin/make -j8 -e -f  Makefile'
----------Building project:[ ftzPlatformStatic - Debug ]----------
make[1]: Entering directory '/home/fatony/Stuff/C++/ftz/Platform/IDE/CodeLite'
/usr/bin/g++  -c  "/home/fatony/Stuff/C++/ftz/Platform/Src/Time.cpp" -g -std=c++14 -Wall -fPIC  -o ./Debug/up_up_Src_Time.cpp.o -I. -I../../Include
/usr/bin/g++  -c  "/home/fatony/Stuff/C++/ftz/Platform/Src/Process.cpp" -g -std=c++14 -Wall -fPIC  -o ./Debug/up_up_Src_Process.cpp.o -I. -I../../Include
/usr/bin/g++  -c  "/home/fatony/Stuff/C++/ftz/Platform/Src/Errors.cpp" -g -std=c++14 -Wall -fPIC  -o ./Debug/up_up_Src_Errors.cpp.o -I. -I../../Include
/usr/bin/g++  -c  "/home/fatony/Stuff/C++/ftz/Platform/Src/Library.cpp" -g -std=c++14 -Wall -fPIC  -o ./Debug/up_up_Src_Library.cpp.o -I. -I../../Include
/usr/bin/g++  -c  "/home/fatony/Stuff/C++/ftz/Platform/Src/IPv6.cpp" -g -std=c++14 -Wall -fPIC  -o ./Debug/up_up_Src_IPv6.cpp.o -I. -I../../Include
/usr/bin/g++  -c  "/home/fatony/Stuff/C++/ftz/Platform/Src/IPv4.cpp" -g -std=c++14 -Wall -fPIC  -o ./Debug/up_up_Src_IPv4.cpp.o -I. -I../../Include
/usr/bin/g++  -c  "/home/fatony/Stuff/C++/ftz/Platform/Src/FileSystem.cpp" -g -std=c++14 -Wall -fPIC  -o ./Debug/up_up_Src_FileSystem.cpp.o -I. -I../../Include
/home/fatony/Stuff/C++/ftz/Platform/Src/Errors.cpp: In function 'std::__cxx11::string ftz::Platform::GetErrorString(int)':
/home/fatony/Stuff/C++/ftz/Platform/Src/Errors.cpp:23:36: warning: null argument where non-null required (argument 2) [-Wnonnull]
  return strerror_r(code, nullptr, 0);
                                    ^
/usr/bin/ar rcu ../../Lib/libftzplatform.a @"ftzPlatformStatic.txt"
/usr/bin/ar: `u' modifier ignored since `D' is the default (see `U')
make[1]: Leaving directory '/home/fatony/Stuff/C++/ftz/Platform/IDE/CodeLite'
====0 errors, 1 warnings====
ftz Engine server

Code: Select all

/bin/sh -c '/usr/bin/make -j8 -e -f  Makefile'
----------Building project:[ FHSFileSystemDriver - Debug ]----------
make[1]: Entering directory '/home/fatony/Stuff/C++/ftz/Engine/Src/IDE/CodeLite/Drivers'
/usr/bin/g++  -c  "/home/fatony/Stuff/C++/ftz/Engine/Src/Drivers/FileSystem/FHSFileSystemDriver.cpp" -g -std=c++14 -fconcepts -Wall  -o ./Debug/up_up_up_Drivers_FileSystem_FHSFileSystemDriver.cpp.o -I. -I. -I../../../Engine/Include
/usr/bin/ar rcu ../../../../Lib/libFHSFileSystemDriver.a @"FHSFileSystemDriver.txt"
/usr/bin/ar: `u' modifier ignored since `D' is the default (see `U')
make[1]: Leaving directory '/home/fatony/Stuff/C++/ftz/Engine/Src/IDE/CodeLite/Drivers'
----------Building project:[ PlatformLibraryDriver - Debug ]----------
make[1]: Entering directory '/home/fatony/Stuff/C++/ftz/Engine/Src/IDE/CodeLite/Drivers'
/usr/bin/g++  -c  "/home/fatony/Stuff/C++/ftz/Engine/Src/Drivers/Library/PlatformLibraryDriver.cpp" -g -std=c++14 -fconcepts -Wall  -o ./Debug/up_up_up_Drivers_Library_PlatformLibraryDriver.cpp.o -I. -I. -I../../../Engine/Include
/usr/bin/ar rcu ../../../../Lib/libPlatformLibraryDriver.a @"PlatformLibraryDriver.txt"
/usr/bin/ar: `u' modifier ignored since `D' is the default (see `U')
make[1]: Leaving directory '/home/fatony/Stuff/C++/ftz/Engine/Src/IDE/CodeLite/Drivers'
----------Building project:[ Server - Debug ]----------
make[1]: Entering directory '/home/fatony/Stuff/C++/ftz/Engine/Src/IDE/CodeLite/Server'
/usr/bin/g++  -c  "/home/fatony/Stuff/C++/ftz/Engine/Src/Engine/Src/Export/Loader.cpp" -g -O0 -std=c++14 -fconcepts -Wall  -o ./Debug/up_up_up_Engine_Src_Export_Loader.cpp.o -I. -I. -I../../../Engine/Include
/usr/bin/g++  -c  "/home/fatony/Stuff/C++/ftz/Engine/Src/Server/Src/Main.cpp" -g -O0 -std=c++14 -fconcepts -Wall  -o ./Debug/up_up_up_Server_Src_Main.cpp.o -I. -I. -I../../../Engine/Include
/usr/bin/g++ -o ../../../../Bin/ftz-engine-server @"Server.txt" -L. -L../../../../Lib  -lFHSFileSystemDriver -lPlatformLibraryDriver -lftzplatform -lftzconsole -lftzgeneral -lftzserialization -ldl -lpthread -lstdc++fs
make[1]: Leaving directory '/home/fatony/Stuff/C++/ftz/Engine/Src/IDE/CodeLite/Server'
====0 errors, 0 warnings====
User avatar
eranif
CodeLite Plugin
Posts: 6375
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: The path to source files are broken during debug

Post by eranif »

Is it possible to try an older version of gdb?
Make sure you have read the HOW TO POST thread
Post Reply