-
Bug
-
Resolution: Out of scope
-
Not Evaluated
-
None
-
Qt Creator 13.0.0, Qt Creator 17.0.1
-
None
-
Linux Mint 21.1 / Ubuntu 24.04
g++-14
I have an issue with a very slow-starting debugger when launching a c++ debugging session from within QtCreator. It takes about 30 seconds before my program launches, making repeated debugging restarts quite painful. The same program starts in less than 1 second when running gdb from my system terminal.
This output in my debugger log caught my eye:
d[GDB] dNON-CRITICAL TIMEOUT dCOMMANDS STILL IN PROGRESS: >=breakpoint-modified,bkpt={number="1",type="breakpoint",disp="keep",enabled="y",addr="<MULTIPLE>",times="0",original-location="/home/[..]/logging.h:304",locations=[{number= "1.1",enabled="y",addr="0x000055555556c392",func="Log::error::~error()",file="/home/[..]/logging.h",fullname="/home/[..]/logging.h",line ="304",thread-groups=["i1"]},{number="1.2",enabled="y",addr="0x00007ffff77b7e52",func="Log::error::~error()",file="/home/[..]/logging.h",fullname="/home/[..]/logging.h",line="304",thread-groups=["i1"]}]}
Moving the destructor code where my breakpoint was set to a .cpp file solved the slow start.