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:

Re: The path to source files are broken during debug

Post by Lyberta »

I've tried Ubuntu 16.10 with g++ 6.2.0, gdb 7.11 and CodeLite 9.2. All paths are correct.
User avatar
eranif
CodeLite Plugin
Posts: 6372
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 compare the gdb output from 7.11 and 7.12?
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 »

Here's the output of GDB 7.11:

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/1 --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>>00000001-enable-pretty-printing
Debug session started successfully!
DEBUG>>00000002-exec-arguments 
DEBUG>>00000003-exec-run 
DEBUG>>=thread-group-added,id="i1"
=thread-group-added,id="i1"
DEBUG>>~"GNU gdb (Ubuntu 7.11.90.20161005-0ubuntu1) 7.11.90.20161005-git\n"
GNU gdb (Ubuntu 7.11.90.20161005-0ubuntu1) 7.11.90.20161005-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="<PENDING>",what="exception throw",catch-type="throw",times="0"}
=breakpoint-created,bkpt={number="1",type="breakpoint",disp="keep",enabled="y",addr="<PENDING>",what="exception throw",catch-type="throw",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
DEBUG>>00000002^done
>> Debuggee process ID: 8353
DEBUG>>=thread-group-started,id="i1",pid="8353"
=thread-group-started,id="i1",pid="8353"
DEBUG>>=thread-created,id="1",group-id="i1"
=thread-created,id="1",group-id="i1"
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>>00000003^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/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>>=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>>~"[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="0x00007ffff76bd53d",what="exception throw",catch-type="throw",thread-groups=["i1"],times="0"}
=breakpoint-modified,bkpt={number="1",type="breakpoint",disp="keep",enabled="y",addr="0x00007ffff76bd53d",what="exception throw",catch-type="throw",thread-groups=["i1"],times="0"}
DEBUG>>=breakpoint-modified,bkpt={number="1",type="breakpoint",disp="keep",enabled="y",addr="0x00007ffff76bd53d",what="exception throw",catch-type="throw",thread-groups=["i1"],times="1"}
=breakpoint-modified,bkpt={number="1",type="breakpoint",disp="keep",enabled="y",addr="0x00007ffff76bd53d",what="exception throw",catch-type="throw",thread-groups=["i1"],times="1"}
DEBUG>>~"\n"

DEBUG>>~"Catchpoint 1 (exception thrown), 0x00007ffff76bd53d in __cxa_throw () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6\n"
Catchpoint 1 (exception thrown), 0x00007ffff76bd53d in __cxa_throw () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
DEBUG>>*stopped,reason="breakpoint-hit",disp="keep",bkptno="1",frame={addr="0x00007ffff76bd53d",func="__cxa_throw",args=[],from="/usr/lib/x86_64-linux-gnu/libstdc++.so.6"},thread-id="1",stopped-threads="all",core="3"
DEBUG>>00000004-stack-info-frame
DEBUG>>00000005-break-list
DEBUG>>00000004^done,frame={level="0",addr="0x00007ffff76bd53d",func="__cxa_throw",from="/usr/lib/x86_64-linux-gnu/libstdc++.so.6"}
DEBUG>>00000006-stack-list-variables 2
DEBUG>>00000007-data-list-register-names
DEBUG>>00000005^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="0x00007ffff76bd53d",what="exception throw",catch-type="throw",thread-groups=["i1"],times="1"}]}
DEBUG>>00000006^done,variables=[]
DEBUG>>00000007^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>>00000008-data-list-register-values N
DEBUG>>00000008^done,register-values=[{number="0",value="93824994907504"},{number="1",value="93824994984048"},{number="2",value="93824994996232"},{number="3",value="140737344516160"},{number="4",value="93824994907504"},{number="5",value="93824994984048"},{number="6",value="0x5555557e1570 <typeinfo for std::runtime_error@@GLIBCXX_3.4>"},{number="7",value="0x7fffffffe090"},{number="8",value="140737341628488"},{number="9",value="0"},{number="10",value="93824994996208"},{number="11",value="140737344699808"},{number="12",value="140737344516160"},{number="13",value="140737488348528"},{number="14",value="0"},{number="15",value="0"},{number="16",value="0x7ffff76bd53d <__cxa_throw+13>"},{number="17",value="[ 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 = {7.88990685e+34, 1.15759229e+27, 1.57010883e+16, 7.29534216e+31}, v2_double = {2.1131090624117109e+214, 5.086364261770666e+252}, v16_int8 = {100, 32, 115, 121, 109, 98, 111, 108, 58, 32, 95, 90, 78, 51, 102, 116}, v8_int16 = {8292, 31091, 25197, 27759, 8250, 23135, 13134, 29798}, v4_int32 = {2037588068, 1819239021, 1516183610, 1952854862}, v2_int64 = {7813572100839645284, 8387447767640776762}, uint128 = 0x7466334e5a5f203a6c6f626d79732064}"},{number="42",value="{v4_float = {3.1724832e+35, 1.12519994e+24, 8.54698158e-07, 1.77480357e+28}, v2_double = {1.6858731871003627e+190, 6.1849577292405147e+223}, v16_int8 = {51, 102, 116, 122, 54, 69, 110, 103, 105, 110, 101, 53, 83, 99, 101, 110}, v8_int16 = {26163, 31348, 17718, 26478, 28265, 13669, 25427, 28261}, v4_int32 = {2054448691, 1735279926, 895839849, 1852138323}, v2_int64 = {7452970533629748787, 7954873525849124457}, uint128 = 0x6e65635335656e69676e45367a746633}"},{number="43",value="{v4_float = {1.74864492e+25, 1.38170912e+31, 2.03113445e+32, 2.70818631e+23}, v2_double = {6.6414971122060363e+246, 1.8179630132939627e+185}, v16_int8 = {101, 110, 103, 105, 110, 101, 46, 115, 111, 58, 32, 117, 110, 100, 101, 102}, v8_int16 = {28261, 26983, 25966, 29486, 14959, 29984, 25710, 26213}, v4_int32 = {1768386149, 1932420462, 1965046383, 1717920878}, v2_int64 = {8299682688179596901, 7378413990090652271}, uint128 = 0x6665646e75203a6f732e656e69676e65}"},{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 = {-3.91726566e+33, 4.59163468e-41, -3.91726566e+33, 4.59163468e-41}, v2_double = {6.9533485585983183e-310, 6.9533485585983183e-310}, v16_int8 = {-40, 34, 65, -9, -1, 127, 0, 0, -40, 34, 65, -9, -1, 127, 0, 0}, v8_int16 = {8920, -2239, 32767, 0, 8920, -2239, 32767, 0}, v4_int32 = {-146726184, 32767, -146726184, 32767}, v2_int64 = {140737341629144, 140737341629144}, uint128 = 0x00007ffff74122d800007ffff74122d8}"},{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="112"},{number="153",value="112"},{number="154",value="8"},{number="155",value="64"},{number="156",value="112"},{number="157",value="112"},{number="158",value="112"},{number="159",value="-112"},{number="160",value="72"},{number="161",value="0"},{number="162",value="-16"},{number="163",value="-96"},{number="164",value="64"},{number="165",value="112"},{number="166",value="0"},{number="167",value="0"},{number="168",value="21"},{number="169",value="64"},{number="170",value="112"},{number="171",value="48"},{number="172",value="5488"},{number="173",value="16496"},{number="174",value="28680"},{number="175",value="12352"},{number="176",value="5488"},{number="177",value="16496"},{number="178",value="5488"},{number="180",value="8264"},{number="181",value="0"},{number="182",value="28656"},{number="183",value="-608"},{number="184",value="12352"},{number="185",value="-6800"},{number="186",value="0"},{number="187",value="0"},{number="188",value="1434326384"},{number="189",value="1434402928"},{number="190",value="1434415112"},{number="191",value="-143839168"},{number="192",value="1434326384"},{number="193",value="1434402928"},{number="194",value="1434326384"},{number="195",value="-8048"},{number="196",value="-146726840"},{number="197",value="0"},{number="198",value="1434415088"},{number="199",value="-143655520"},{number="200",value="-143839168"},{number="201",value="-6800"},{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 = {7.88990685e+34, 1.15759229e+27, 1.57010883e+16, 7.29534216e+31, 0, 0, 0, 0}, v4_double = {2.1131090624117109e+214, 5.086364261770666e+252, 0, 0}, v32_int8 = {100, 32, 115, 121, 109, 98, 111, 108, 58, 32, 95, 90, 78, 51, 102, 116, 0 <repeats 16 times>}, v16_int16 = {8292, 31091, 25197, 27759, 8250, 23135, 13134, 29798, 0, 0, 0, 0, 0, 0, 0, 0}, v8_int32 = {2037588068, 1819239021, 1516183610, 1952854862, 0, 0, 0, 0}, v4_int64 = {7813572100839645284, 8387447767640776762, 0, 0}, v2_int128 = {0x7466334e5a5f203a6c6f626d79732064, 0x00000000000000000000000000000000}}"},{number="206",value="{v8_float = {3.1724832e+35, 1.12519994e+24, 8.54698158e-07, 1.77480357e+28, 0, 0, 0, 0}, v4_double = {1.6858731871003627e+190, 6.1849577292405147e+223, 0, 0}, v32_int8 = {51, 102, 116, 122, 54, 69, 110, 103, 105, 110, 101, 53, 83, 99, 101, 110, 0 <repeats 16 times>}, v16_int16 = {26163, 31348, 17718, 26478, 28265, 13669, 25427, 28261, 0, 0, 0, 0, 0, 0, 0, 0}, v8_int32 = {2054448691, 1735279926, 895839849, 1852138323, 0, 0, 0, 0}, v4_int64 = {7452970533629748787, 7954873525849124457, 0, 0}, v2_int128 = {0x6e65635335656e69676e45367a746633, 0x00000000000000000000000000000000}}"},{number="207",value="{v8_float = {1.74864492e+25, 1.38170912e+31, 2.03113445e+32, 2.70818631e+23, 0, 0, 0, 0}, v4_double = {6.6414971122060363e+246, 1.8179630132939627e+185, 0, 0}, v32_int8 = {101, 110, 103, 105, 110, 101, 46, 115, 111, 58, 32, 117, 110, 100, 101, 102, 0 <repeats 16 times>}, v16_int16 = {28261, 26983, 25966, 29486, 14959, 29984, 25710, 26213, 0, 0, 0, 0, 0, 0, 0, 0}, v8_int32 = {1768386149, 1932420462, 1965046383, 1717920878, 0, 0, 0, 0}, v4_int64 = {8299682688179596901, 7378413990090652271, 0, 0}, v2_int128 = {0x6665646e75203a6f732e656e69676e65, 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 = {-3.91726566e+33, 4.59163468e-41, -3.91726566e+33, 4.59163468e-41, 0, 0, 0, 0}, v4_double = {6.9533485585983183e-310, 6.9533485585983183e-310, 0, 0}, v32_int8 = {-40, 34, 65, -9, -1, 127, 0, 0, -40, 34, 65, -9, -1, 127, 0 <repeats 18 times>}, v16_int16 = {8920, -2239, 32767, 0, 8920, -2239, 32767, 0, 0, 0, 0, 0, 0, 0, 0, 0}, v8_int32 = {-146726184, 32767, -146726184, 32767, 0, 0, 0, 0}, v4_int64 = {140737341629144, 140737341629144, 0, 0}, v2_int128 = {0x00007ffff74122d800007ffff74122d8, 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>>00000009-stack-list-frames 0 500
DEBUG>>00000009^done,stack=[frame={level="0",addr="0x00007ffff76bd53d",func="__cxa_throw",from="/usr/lib/x86_64-linux-gnu/libstdc++.so.6"},frame={level="1",addr="0x000055555556a493",func="ftz::Platform::Library::Library",file="/home/fatony/Stuff/C++/ftz/Platform/Src/Library.cpp",fullname="/home/fatony/Stuff/C++/ftz/Platform/Src/Library.cpp",line="25"},frame={level="2",addr="0x00005555555692db",func="ftz::Engine::PlatformLibrary::PlatformLibrary",file="/home/fatony/Stuff/C++/ftz/Engine/Src/Drivers/Library/PlatformLibraryDriver.cpp",fullname="/home/fatony/Stuff/C++/ftz/Engine/Src/Drivers/Library/PlatformLibraryDriver.cpp",line="18"},frame={level="3",addr="0x00005555555696c7",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="787"},frame={level="4",addr="0x00005555555695e4",func="ftz::Engine::Drivers::PlatformLibraryDriver::OpenLibrary",file="/home/fatony/Stuff/C++/ftz/Engine/Src/Drivers/Library/PlatformLibraryDriver.cpp",fullname="/home/fatony/Stuff/C++/ftz/Engine/Src/Drivers/Library/PlatformLibraryDriver.cpp",line="60"},frame={level="5",addr="0x0000555555561a43",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="0x000055555555df27",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"}]
The paths are in the last lines.
User avatar
eranif
CodeLite Plugin
Posts: 6372
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 »

As you can see, the paths are not a CodeLite issue, but rather a GDB issue (the paths are passed correctly with GDB 7.11)
You need to take it up to GDB team
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 »

Thanks, I will look into it.
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, CodeLite doesn't delete .a files before compiling so it added compiled objects to ones compiled with CMake. I've deleted all .a files and rebuilt with CodeLite and now paths are correct.
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 »

Can CodeLite delete final output file before compilation? I keep hitting this issue when I compile without CodeLite and static libraries have 2 copies of .o files inside them.
User avatar
eranif
CodeLite Plugin
Posts: 6372
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 »

Add a pre build task so it will delete these files
Make sure you have read the HOW TO POST thread
Post Reply