|Re: gdb problems C++ with std::list [message #1847575 is a reply to message #1847548]
||Mon, 01 November 2021 16:19
Registered: October 2012
STL containers with indefinite length (list, sets, etc.) have this problem before they are initialized.|
CDT is trying to collect the contents but gets lost due to bad pointers.
The only solution I've found is to either only stop after the container has been initialized
or avoid using anything that will try to view its content (such as the Variables tab) before initialization.
I use the Expressions tab to view other variables when this occurs.
Powered by FUDForum
. Page generated in 0.01904 seconds