You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When debugging a C++ project using Qt, LLDB shows trash
If the class is inherited from QObject and the implementation of the destructor is transferred to a *.cpp file, then lldb “breaks” and displays trash
OS: 5.15.0-125-generic #135~20.04.1-Ubuntu SMP Mon Oct 7 13:56:22 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
VSCode version: 1.95.3
CodeLLDB version: 1.11.1
Compiler: GCC 9.4.0 x86_64-linux-gnu
Debuggee: x86_64 bynaryexecutable
When debugging a C++ project using Qt, LLDB shows trash
If the class is inherited from QObject and the implementation of the destructor is transferred to a *.cpp file, then lldb “breaks” and displays trash
holder.h
holder.cpp
main.cpp
In this case, the stack on
main.cpp:6 (return 0)
looks like this:targets2_
contains 128 elements, although it is initialized with only three({1,2,3})
If the destructor is moved to holder.h
holder.h
then the stack looks good
This behavior appeared in CodeLLDB version 1.11.0; in version 1.10.0, the stack always looks good.
LLDB output: lldb-log.txt
An example project can be found here: lldb-bug-repr
The text was updated successfully, but these errors were encountered: