Details
-
Bug
-
Resolution: Unresolved
-
Not Evaluated
-
None
-
Qt Creator 14.0.2
-
None
Description
Hi there, I'm not really sure whether this is a bug, or me just not fully understanding how to use the debugger window...
So the issue is that the piece of code runs reverse std::find_if on the QList. The "found" iterator itself is the correct one (You can see in the expressions `lastDelimiterTokenBeforeLineSplitIt->lexKind == 52`)
However in the "Locals" section `lastDelimiterTokenBeforeLineSplitIt.current->i` shows the data of the element before. (`lexKind == 29`)
I would expect to see in the "Locals" that `lastDelimiterTokenBeforeLineSplitIt` points to the "found" element and not to the previous one.
So is it me who don't understand iterators and how to read "Locals" window or is it a bug on the QtCreator debugger?
See screenshot for details.
Thank you