QtCreator use gdb as debugger is quite slow
-
System: Linux 64bit
Qtcreator version:
gdb version: 8.2_1
I found it is very slow if I use Qtcreator to do debugging, even just step to next line sometimes may cost 40 - 50 seconds. it has bothered me for almost 2 years, but still no solution.
if I use gdb directly, it can be very fast, less than 1 second.
this is my qtcreator debugger configuration:
and here's the debugger log info for a slow 'step into next line' operation:
--- token barrier ---
dNOTE: INFERIOR RUN REQUESTED
Run requested...
dState changed from InferiorStopOk(10) to InferiorRunRequested(6)
Step next requested...
<466-exec-next~"result={token="0",data=[{iname="local.headerStyle",name="headerStyle",origaddr="0x7fffb495d568",address="0x602df90",autoderefcount="1",address="0x602df90",numchild="1",type="qtgui::infra::util::LeftSortIndicatorStyle",value="",},{iname="local.splitter",name="splitter",origaddr="0x7fffb495d560",address="0x0",type="QSplitter*",value="0x0",},{iname="local.verticalLayout",name="verticalLayout",origaddr="0x7fffb495d558",address="0x0",type="QVBoxLayout*",value="0x0",},{iname="local.this",name="this",origaddr="0x7fffb495d428",address="0x5b05b80",autoderefcount="1",address="0x5b05b80",numchild="1",type="qtgui::lmc::lmcsetup::detail::LayerWidget",value="",},{iname="local.parent",name="parent",origaddr="0x7fffb495d420",address="0x5b29e20",autoderefcount="1",address="0x5b29e20",numchild="1",type="QWidget",value="",},{iname="local.job_path",name="job_path",address="0x655a010",numchild="1",type="std::string &",value="",},{iname="local.headerStyle@1",name="headerStyle@1",origaddr="0x7fffb495d568",address="0x602df90",autoderefcount="1",address="0x602df90",numchild="1",type="qtgui::infra::util::LeftSortIndicatorStyle",value="",},{iname="local.splitter@1",name="splitter@1",origaddr="0x7fffb495d560",address="0x0",type="QSplitter*",value="0x0",},{iname="local.verticalLayout@1",name="verticalLayout@1",origaddr="0x7fffb495d558",address="0x0",type="QVBoxLayout*",value="0x0",},{iname="local.otherOptions",name="otherOptions",numchild="0",valueencoded="optimizedout",value="",},],typeinfo=[],partial="0",counts={},timings=[]}\n"
465^done
<Rebuild Watchmodel 85 @ 20:45:28.763 [90001ms] >
Finished retrieving data.466^running
dNOTE: INFERIOR RUN OK
Running.
dState changed from InferiorRunRequested(6) to InferiorRunOk(7)
*running,thread-id="all"
dNOTE: INFERIOR STILL RUNNING IN STATE InferiorRunOk.~"Switching to thread 45 (Thread 0x7efd667fc700 (LWP 91246))\n"
=thread-selected,id="45"
Thread 45 selected.*stopped,reason="end-stepping-range",frame={addr="0x00007efdc6badd2c",func="qtgui::lmc::lmcsetup::detail::LayerWidget::LayerWidget",args=[{name="this",value="0x5b05b80"},{name="parent",value="0x5b29e20"},{name="job_path",value="..."}],file="../../../../qtgui/lmc/lmcsetup/detail/LayerWidget.cpp",fullname="/home/qiowu/gitdir/tachyon_tgs/qtgui/lmc/lmcsetup/detail/LayerWidget.cpp",line="405"},thread-id="1",stopped-threads="all",core="10"
dNOTE: INFERIOR SPONTANEOUS STOP
Stopped.
dState changed from InferiorRunOk(7) to InferiorStopOk(10)
Stopped: "end-stepping-range".<467-thread-info
467^done,threads=[{id="1",target-id="Thread 0x7efe6d24dd80 (LWP 89889)",name="pwegui",frame={level="0",addr="0x00007efdc6badd2c",func="qtgui::lmc::lmcsetup::detail::LayerWidget::LayerWidget",args=[{name="this",value="0x5b05b80"},{name="parent",value="0x5b29e20"},{name="job_path",value="..."}],file="../../../../qtgui/lmc/lmcsetup/detail/LayerWidget.cpp",fullname="/home/qiowu/gitdir/tachyon_tgs/qtgui/lmc/lmcsetup/detail/LayerWidget.cpp",line="405"},state="stopped",core="10"},{id="2",target-id="Thread 0x7efe6d1cc700 (LWP 89892)",name="pwegui",frame={level="0",addr="0x00007efe8eb6ba35",func="pthread_cond_wait@@GLIBC_2.3.2",args=[],from="/lib64/libpthread.so.0"},state="stopped",core="6"},{id="3",target-id="Thread 0x7efe6c9cb700 (LWP 89893)",name="pwegui",frame={level="0",addr="0x00007efe8eb6ba35",func="pthread_cond_wait@@GLIBC_2.3.2",args=[],from="/lib64/libpthread.so.0"},state="stopped",core="10"},{id="4",target-id="Thread 0x7efe6c1ca700 (LWP 89894)",name="pwegui",frame={level="0",addr="0x00007efe8eb6ba35",func="pthread_cond_wait@@GLIBC_2.3.2",args=[],from="/lib64/libpthread.so.0"},state="stopped",core="23"},{id="5",target-id="Thread 0x7efe6b9c9700 (LWP 89895)",name="pwegui",frame={level="0",addr="0x00007efe8eb6ba35",func="pthread_cond_wait@@GLIBC_2.3.2",args=[],from="/lib64/libpthread.so.0"},state="stopped",core="18"},{id="6",target-id="Thread 0x7efe6b1c8700 (LWP 89896)",name="pwegui",frame={level="0",addr="0x00007efe8eb6ba35",func="pthread_cond_wait@@GLIBC_2.3.2",args=[],from="/lib64/libpthread.so.0"},state="stopped",core="4"},{id="7",target-id="Thread 0x7efe6a9c7700 (LWP 89897)",name="pwegui",frame={level="0",addr="0x00007efe8eb6ba35",func="pthread_cond_wait@@GLIBC_2.3.2",args=[],from="/lib64/libpthread.so.0"},state="stopped",core="6"},{id="8",target-id="Thread 0x7efe6a1c6700 (LWP 89898)",name="pwegui",frame={level="0",addr="0x00007efe8eb6ba35",func="pthread_cond_wait@@GLIBC_2.3.2",args=[],from="/lib64/libpthread.so.0"},state="stopped",core="4"},{id="9",target-id="Thread 0x7efe699c5700 (LWP 89902)",name="QXcbEventQueue",frame={level="0",addr="0x00007efe7cc5cc2d",func="poll",args=[],from="/lib64/libc.so.6"},state="stopped",core="6"},{id="10",target-id="Thread 0x7efe5ef45700 (LWP 89907)",name="pwegui",frame={level="0",addr="0x00007efe8eb6ba35",func="pthread_cond_wait@@GLIBC_2.3.2",args=[],from="/lib64/libpthread.so.0"},state="stopped",core="4"},{id="11",target-id="Thread 0x7efe08ff9700 (LWP 89935)",name="QDBusConnection",frame={level="0",addr="0x00007efe7cc5cc2d",func="poll",args=[],from="/lib64/libc.so.6"},state="stopped",core="10"},{id="12",target-id="Thread 0x7efdebfff700 (LWP 89937)",name="pwegui",frame={level="0",addr="0x00007efe8eb6bde2",func="pthread_cond_timedwait@@GLIBC_2.3.2",args=[],from="/lib64/libpthread.so.0"},state="stopped",core="10"},{id="13",target-id="Thread 0x7efdeb7fe700 (LWP 89938)",name="pwegui",frame={level="0",addr="0x00007efe7cc67ea3",func="epoll_wait",args=[],from="/lib64/libc.so.6"},state="stopped",core="6"},{id="14",target-id="Thread 0x7efdeaffd700 (LWP 90031)",name="pwegui",frame={level="0",addr="0x00007efe8eb6ba35",func="pthread_cond_wait@@GLIBC_2.3.2",args=[],from="/lib64/libpthread.so.0"},state="stopped",core="5"},{id="15",target-id="Thread 0x7efdea7fc700 (LWP 90032)",name="pwegui",frame={level="0",addr="0x00007efe8eb6ba35",func="pthread_cond_wait@@GLIBC_2.3.2",args=[],from="/lib64/libpthread.so.0"},state="stopped",core="10"},{id="16",target-id="Thread 0x7efde9ffb700 (LWP 90033)",name="pwegui",frame={level="0",addr="0x00007efe8eb6ba35",func="pthread_cond_wait@@GLIBC_2.3.2",args=[],from="/lib64/libpthread.so.0"},state="stopped",core="23"},{id="17",target-id="Thread 0x7efde97fa700 (LWP 90034)",name="pwegui",frame={level="0",addr="0x00007efe8eb6ba35",func="pthread_cond_wait@@GLIBC_2.3.2",args=[],from="/lib64/libpthread.so.0"},state="stopped",core="11"},{id="18",target-id="Thread 0x7efde8ff9700 (LWP 90035)",name="pwegui",frame={level="0",addr="0x00007efe8eb6ba35",func="pthread_cond_wait@@GLIBC_2.3.2",args=[],from="/lib64/libpthread.so.0"},state="stopped",core="7"},{id="19",target-id="Thread 0x7efddffff700 (LWP 90036)",name="pwegui",frame={level="0",addr="0x00007efe8eb6ba35",func="pthread_cond_wait@@GLIBC_2.3.2",args=[],from="/lib64/libpthread.so.0"},state="stopped",core="9"},{id="20",target-id="Thread 0x7efddf7fe700 (LWP 90037)",name="pwegui",frame={level="0",addr="0x00007efe8eb6bde2",func="pthread_cond_timedwait@@GLIBC_2.3.2",args=[],from="/lib64/libpthread.so.0"},state="stopped",core="19"},{id="21",target-id="Thread 0x7efddeffd700 (LWP 90038)",name="pwegui",frame={level="0",addr="0x00007efe8eb6bde2",func="pthread_cond_timedwait@@GLIBC_2.3.2",args=[],from="/lib64/libpthread.so.0"},state="stopped",core="10"},{id="22",target-id="Thread 0x7efdde7fc700 (LWP 90039)",name="pwegui",frame={level="0",addr="0x00007efe7cc67b07",func="epoll_pwait",args=[],from="/lib64/libc.so.6"},state="stopped",core="18"},{id="23",target-id="Thread 0x7efddd7fa700 (LWP 90132)",name="pwegui",frame={level="0",addr="0x00007efe8eb6ba35",func="pthread_cond_wait@@GLIBC_2.3.2",args=[],from="/lib64/libpthread.so.0"},state="stopped",core="10"},{id="24",target-id="Thread 0x7efe42ffd700 (LWP 90549)",name="pwegui",frame={level="0",addr="0x00007efe8eb6db3b",func="do_futex_wait.constprop",args=[],from="/lib64/libpthread.so.0"},state="stopped",core="23"},{id="25",target-id="Thread 0x7efda4e4f700 (LWP 90550)",name="pwegui",frame={level="0",addr="0x00007efe7cc67ea3",func="epoll_wait",args=[],from="/lib64/libc.so.6"},state="stopped",core="18"},{id="26",target-id="Thread 0x7efda464e700 (LWP 90551)",name="pwegui",frame={level="0",addr="0x00007efe7cc67ea3",func="epoll_wait",args=[],from="/lib64/libc.so.6"},state="stopped",core="18"},{id="27",target-id="Thread 0x7efda3e4d700 (LWP 90552)",name="pwegui",frame={level="0",addr="0x00007efe8eb6bde2",func="pthread_cond_timedwait@@GLIBC_2.3.2",args=[],from="/lib64/libpthread.so.0"},state="stopped",core="6"},{id="28",target-id="Thread 0x7efda364c700 (LWP 90556)",name="pwegui",frame={level="0",addr="0x00007efe7cc5cc2d",func="poll",args=[],from="/lib64/libc.so.6"},state="stopped",core="18"},{id="29",target-id="Thread 0x7efda2e4b700 (LWP 90557)",name="pwegui",frame={level="0",addr="0x00007efe7cc67ea3",func="epoll_wait",args=[],from="/lib64/libc.so.6"},state="stopped",core="5"},{id="30",target-id="Thread 0x7efda264a700 (LWP 90558)",name="pwegui",frame={level="0",addr="0x00007efe7cc67ea3",func="epoll_wait",args=[],from="/lib64/libc.so.6"},state="stopped",core="18"},{id="31",target-id="Thread 0x7efd99d0e700 (LWP 90582)",name="pwegui",frame={level="0",addr="0x00007efe7cc58a47",func="access",args=[],from="/lib64/libc.so.6"},state="stopped",core="4"},{id="32",target-id="Thread 0x7efd9950d700 (LWP 90583)",name="pwegui",frame={level="0",addr="0x00007efe8eb6ba35",func="pthread_cond_wait@@GLIBC_2.3.2",args=[],from="/lib64/libpthread.so.0"},state="stopped",core="11"},{id="33",target-id="Thread 0x7efd98d0c700 (LWP 90584)",name="pwegui",frame={level="0",addr="0x00007efe8eb6bde2",func="pthread_cond_timedwait@@GLIBC_2.3.2",args=[],from="/lib64/libpthread.so.0"},state="stopped",core="12"},{id="34",target-id="Thread 0x7efd939e2700 (LWP 90731)",name="pwegui",frame={level="0",addr="0x00007efe8eb6bde2",func="pthread_cond_timedwait@@GLIBC_2.3.2",args=[],from="/lib64/libpthread.so.0"},state="stopped",core="18"},{id="35",target-id="Thread 0x7efd931e1700 (LWP 90737)",name="pwegui",frame={level="0",addr="0x00007efe8eb6ba35",func="pthread_cond_wait@@GLIBC_2.3.2",args=[],from="/lib64/libpthread.so.0"},state="stopped",core="23"},{id="36",target-id="Thread 0x7efd929e0700 (LWP 90738)",name="pwegui",frame={level="0",addr="0x00007efe8eb6ba35",func="pthread_cond_wait@@GLIBC_2.3.2",args=[],from="/lib64/libpthread.so.0"},state="stopped",core="18"},{id="37",target-id="Thread 0x7efe43fff700 (LWP 91199)",name="QFileInfoGather",frame={level="0",addr="0x00007efe8eb6ba35",func="pthread_cond_wait@@GLIBC_2.3.2",args=[],from="/lib64/libpthread.so.0"},state="stopped",core="23"},{id="38",target-id="Thread 0x7efd90fd3700 (LWP 91231)",name="sandbox_ipc_thr",frame={level="0",addr="0x00007efe7cc5cc2d",func="poll",args=[],from="/lib64/libc.so.6"},state="stopped",core="5"},{id="39",target-id="Thread 0x7efd7bfff700 (LWP 91236)",name="ThreadPoolServi",frame={level="0",addr="0x00007efe7cc67ea3",func="epoll_wait",args=[],from="/lib64/libc.so.6"},state="stopped",core="20"},{id="40",target-id="Thread 0x7efd7affd700 (LWP 91238)",name="Chrome_IOThread",frame={level="0",addr="0x00007efe7cc67ea3",func="epoll_wait",args=[],from="/lib64/libc.so.6"},state="stopped",core="10"},{id="41",target-id="Thread 0x7efd79ffb700 (LWP 91240)",name="ThreadPoolForeg",frame={level="0",addr="0x00007efe8eb6bde2",func="pthread_cond_timedwait@@GLIBC_2.3.2",args=[],from="/lib64/libpthread.so.0"},state="stopped",core="18"},{id="42",target-id="Thread 0x7efd67fff700 (LWP 91243)",name="inotify_reader",frame={level="0",addr="0x00007efe7cc5e993",func="select",args=[],from="/lib64/libc.so.6"},state="stopped",core="14"},{id="43",target-id="Thread 0x7efd677fe700 (LWP 91244)",name="CompositorTileW",frame={level="0",addr="0x00007efe8eb6ba35",func="pthread_cond_wait@@GLIBC_2.3.2",args=[],from="/lib64/libpthread.so.0"},state="stopped",core="23"},{id="44",target-id="Thread 0x7efd66ffd700 (LWP 91245)",name="VizCompositorTh",frame={level="0",addr="0x00007efe8eb6ba35",func="pthread_cond_wait@@GLIBC_2.3.2",args=[],from="/lib64/libpthread.so.0"},state="stopped",core="5"},{id="45",target-id="Thread 0x7efd667fc700 (LWP 91246)",name="VideoCaptureThr",frame={level="0",addr="0x00007efe8eb6ba35",func="pthread_cond_wait@@GLIBC_2.3.2",args=[],from="/lib64/libpthread.so.0"},state="stopped",core="11"}],current-thread-id="1"
<468python theDumper.fetchStack({"limit":20,"nativemixed":0,"token":468})&"python theDumper.fetchStack({"limit":20,"nativemixed":0,"token":468})\n"
~"result={token="0",stack={frames=[frame={level="0",address="0x7efdc6badd2c",function="qtgui::lmc::lmcsetup::detail::LayerWidget::LayerWidget",file="/home/qiowu/gitdir/tachyon_tgs/qtgui/lmc/lmcsetup/detail/LayerWidget.cpp",line="405",module="/home/qiowu/gitdir/tachyon_tgs/build_root/libs.qt5/libqtlmc.so",language="c"}frame={level="1",address="0x7efdc6b95868",function="qtgui::lmc::lmcsetup::detail::LayerSectionWidget::LayerSectionWidget",file="/home/qiowu/gitdir/tachyon_tgs/qtgui/lmc/lmcsetup/detail/LayerSectionWidget.cpp",line="30",module="/home/qiowu/gitdir/tachyon_tgs/build_root/libs.qt5/libqtlmc.so",language="c"}frame={level="2",address="0x7efdc69afc5b",function="qtgui::lmc::lmcsetup::LmcpSetupFactory::createLayerSectionWidget",file="/home/qiowu/gitdir/tachyon_tgs/qtgui/lmc/lmcsetup/detail/LmcpSetupFactory.cpp",line="634",module="/home/qiowu/gitdir/tachyon_tgs/build_root/libs.qt5/libqtlmc.so",language="c"}frame={level="3",address="0x7efddcbc8c7a",function="qtgui::plugin::lmcsetup::detail::LMCSetupWins::addOneSectionWidget",file="/home/qiowu/gitdir/tachyon_tgs/qtgui/plugin/lmcsetup/detail/lmcsetupwins.cpp",line="2899",module="/home/qiowu/gitdir/tachyon_tgs/build_root/libs.qt5/libpnp_lmcsetup.so",language="c"}frame={level="4",address="0x7efddcbf4aa9",function="qtgui::plugin::lmcsetup::detail::SetupInOut::loadSection",file="/home/qiowu/gitdir/tachyon_tgs/qtgui/plugin/lmcsetup/detail/setupinout.cpp",line="268",module="/home/qiowu/gitdir/tachyon_tgs/build_root/libs.qt5/libpnp_lmcsetup.so",language="c"}frame={level="5",address="0x7efddcbc6117",function="qtgui::plugin::lmcsetup::detail::LMCSetupWins::switchSectionPage",file="/home/qiowu/gitdir/tachyon_tgs/qtgui/plugin/lmcsetup/detail/lmcsetupwins.cpp",line="2674",module="/home/qiowu/gitdir/tachyon_tgs/build_root/libs.qt5/libpnp_lmcsetup.so",language="c"}frame={level="6",address="0x7efddcbc677a",function="qtgui::plugin::lmcsetup::detail::LMCSetupWins::switchSection",file="/home/qiowu/gitdir/tachyon_tgs/qtgui/plugin/lmcsetup/detail/lmcsetupwins.cpp",line="2744",module="/home/qiowu/gitdir/tachyon_tgs/build_root/libs.qt5/libpnp_lmcsetup.so",language="c"}frame={level="7",address="0x7efddcad4185",function="qtgui::plugin::lmcsetup::detail::LMCSetupWins::qt_static_metacall",file="/home/qiowu/gitdir/tachyon_tgs/build_root/qtgui/plugin/lmcsetup/pnp_lmcsetup_autogen/O7LIVGFRLQ/moc_lmcsetupwins.cpp",line="332",module="/home/qiowu/gitdir/tachyon_tgs/build_root/libs.qt5/libpnp_lmcsetup.so",language="c"}frame={level="8",address="0x7efe8027d89d",function="??",file="",line="0",module="",language="c"}frame={level="9",address="0x7efdc68c0105",function="qtgui::lmc::lmcsetup::LmcpSetupFlowBar::sectionBtnClicked",file="/home/qiowu/gitdir/tachyon_tgs/build_root/qtgui/lmc/lmcsetup/qtlmc_lmcsetup_autogen/EWIEGA46WW/moc_LmcpSetupFlowBar.cpp",line="283",module="/home/qiowu/gitdir/tachyon_tgs/build_root/libs.qt5/libqtlmc.so",language="c"}frame={level="10",address="0x7efdc69da825",function="qtgui::lmc::lmcsetup::LmcpSetupFlowBar::onSectionClicked",file="/home/qiowu/gitdir/tachyon_tgs/qtgui/lmc/lmcsetup/detail/LmcpSetupFlowBar.cpp",line="716",module="/home/qiowu/gitdir/tachyon_tgs/build_root/libs.qt5/libqtlmc.so",language="c"}frame={level="11",address="0x7efdc68bf5cf",function="qtgui::lmc::lmcsetup::LmcpSetupFlowBar::qt_static_metacall",file="/home/qiowu/gitdir/tachyon_tgs/build_root/qtgui/lmc/lmcsetup/qtlmc_lmcsetup_autogen/EWIEGA46WW/moc_LmcpSetupFlowBar.cpp",line="145",module="/home/qiowu/gitdir/tachyon_tgs/build_root/libs.qt5/libqtlmc.so",language="c"}frame={level="12",address="0x7efe8027d89d",function="??",file="",line="0",module="",language="c"}frame={level="13",address="0x7efdc69dbdac",function="qtgui::lmc::lmcsetup::LmcpSetupStagePanel::sectionClicked",file="/home/qiowu/gitdir/tachyon_tgs/build_root/qtgui/lmc/lmcsetup/qtlmc_lmcsetup_autogen/include/LmcpSetupFlowBar.moc",line="169",module="/home/qiowu/gitdir/tachyon_tgs/build_root/libs.qt5/libqtlmc.so",language="c"}frame={level="14",address="0x7efdc69d6d89",function="qtgui::lmc::lmcsetup::LmcpSetupStagePanel::onSectionClicked",file="/home/qiowu/gitdir/tachyon_tgs/qtgui/lmc/lmcsetup/detail/LmcpSetupFlowBar.cpp",line="373",module="/home/qiowu/gitdir/tachyon_tgs/build_root/libs.qt5/libqtlmc.so",language="c"}frame={level="15",address="0x7efdc69db8d2",function="qtgui::lmc::lmcsetup::LmcpSetupStagePanel::qt_static_metacall",file="/home/qiowu/gitdir/tachyon_tgs/build_root/qtgui/lmc/lmcsetup/qtlmc_lmcsetup_autogen/include/LmcpSetupFlowBar.moc",line="96",module="/home/qiowu/gitdir/tachyon_tgs/build_root/libs.qt5/libqtlmc.so",language="c"}frame={level="16",address="0x7efe8027d89d",function="??",file="",line="0",module="",language="c"}frame={level="17",address="0x7efe81228851",function="QButtonGroup::buttonClicked(int)",file="",line="0",module="",language="c"}frame={level="18",address="0x7efe81223e04",function="??",file="",line="0",module="",language="c"}frame={level="19",address="0x7efe81225809",function="??",file="",line="0",module="",language="c"}]}}\n"
468^done
<469-stack-select-frame 0
<470python theDumper.fetchVariables({"autoderef":1,"context":"","displaystringlimit":300,"dyntype":1,"expanded":["return","watch","inspect","local"],"fancy":0,"formats":{},"nativemixed":0,"partialvar":"","passexceptions":0,"qobjectnames":0,"resultvarname":"","stringcutoff":10000,"timestamps":0,"token":470,"typeformats":{},"watchers":[]})469^done
&"python theDumper.fetchVariables({"autoderef":1,"context":"","displaystringlimit":300,"dyntype":1,"expanded":["return","watch","inspect","local"],"fancy":0,"formats":{},"nativemixed":0,"partialvar":"","passexceptions":0,"qobjectnames":0,"resultvarname":"","stringcutoff":10000,"timestamps":0,"token":470,"typeformats":{},"watchers":[]})\n"
~"result={token="0",data=[{iname="local.headerStyle",name="headerStyle",origaddr="0x7fffb495d568",address="0x602df90",autoderefcount="1",address="0x602df90",numchild="1",type="qtgui::infra::util::LeftSortIndicatorStyle",value="",},{iname="local.splitter",name="splitter",origaddr="0x7fffb495d560",address="0x0",type="QSplitter*",value="0x0",},{iname="local.verticalLayout",name="verticalLayout",origaddr="0x7fffb495d558",address="0x0",type="QVBoxLayout*",value="0x0",},{iname="local.this",name="this",origaddr="0x7fffb495d428",address="0x5b05b80",autoderefcount="1",address="0x5b05b80",numchild="1",type="qtgui::lmc::lmcsetup::detail::LayerWidget",value="",},{iname="local.parent",name="parent",origaddr="0x7fffb495d420",address="0x5b29e20",autoderefcount="1",address="0x5b29e20",numchild="1",type="QWidget",value="",},{iname="local.job_path",name="job_path",address="0x655a010",numchild="1",type="std::string &",value="",},{iname="local.headerStyle@1",name="headerStyle@1",origaddr="0x7fffb495d568",address="0x602df90",autoderefcount="1",address="0x602df90",numchild="1",type="qtgui::infra::util::LeftSortIndicatorStyle",value="",},{iname="local.splitter@1",name="splitter@1",origaddr="0x7fffb495d560",address="0x0",type="QSplitter*",value="0x0",},{iname="local.verticalLayout@1",name="verticalLayout@1",origaddr="0x7fffb495d558",address="0x0",type="QVBoxLayout*",value="0x0",},{iname="local.otherOptions",name="otherOptions",numchild="0",valueencoded="optimizedout",value="",},],typeinfo=[],partial="0",counts={},timings=[]}\n"
470^done
<Rebuild Watchmodel 86 @ 20:46:20.719 [51956ms] >
Finished retrieving data.
-
new update:
I've found an important clue: if I start my program with 'env LD_PRELOAD='/some/path/qt/5.15.6_g/lib/libQt5Core.so /some/path/qt/5.15.6_g/lib/libQt5Gui.so /some/path/qt/5.15.6_g/lib/libQt5Widgets.so' the debugger can be very quick.
note /some/path/qt/5.15.6_g qt binaries have debug info, but my program's own used qt binaries don't.do you know why this happen?
-
@fanyha : It probably tries to use some Qt related debug info and doesn't find it in your build. There are more options you could try to switch off: GDB tab: "Use dynamic object type for display", and "Locals & Expressions" tab: "Show QObject names if available".