Description
#include <iostream> #include <map> int main(int argc, char *argv[]) { std::map<int, std::string> map; map[1] = "hello"; auto it = map.begin(); std::cout << it->second << std::endl; // BREAK_HERE return 0; }
Expand it -> node.
left and right are <not accessible>.
The magic button in the debugger log shows:
>~"bridgemessage={msg=\"b'**** CAUGHT EXCEPTION: SUBITEM ****'\"},\n" >~"bridgemessage={msg=\"b'Traceback (most recent call last):\\n'\"},\n" >~"bridgemessage={msg=\"b' File $dumper.py$, line 2202, in putSubItem\\n self.putItem(value)\\n'\"},\n" >~"bridgemessage={msg=\"b' File $dumper.py$, line 2720, in putItem\\n self.putItemX(value)\\n'\"},\n" >~"bridgemessage={msg=\"b' File $dumper.py$, line 2756, in putItemX\\n self.putFormattedPointer(value)\\n'\"},\n" >~"bridgemessage={msg=\"b' File $dumper.py$, line 1357, in putFormattedPointer\\n self.putFormattedPointerX(value)\\n'\"},\n" >~"bridgemessage={msg=\"b' File $dumper.py$, line 1373, in putFormattedPointerX\\n pointer = value.pointer()\\n'\"},\n" >~"bridgemessage={msg=\"b' File $dumper.py$, line 2976, in pointer\\n return self.extractInteger(self.dumper.ptrSize() * 8, True)\\n'\"},\n" >~"bridgemessage={msg=\"b' File $dumper.py$, line 3350, in extractInteger\\n rawBytes = self.data(size)\\n'\"},\n" >~"bridgemessage={msg=\"b\" File $dumper.py$, line 3332, in data\\n error('CANNOT CONVERT ADDRESS TO BYTES: %s' % self)\\n\"\"},\n" >~"bridgemessage={msg=\"b' File $dumper.py$, line 171, in error\\n raise RuntimeError(message)\\n'\"},\n" >~"bridgemessage={msg=\"b\"RuntimeError: CANNOT CONVERT ADDRESS TO BYTES: Value(name='None',type=std::_Rb_tree_node_base*,bsize=None,bpos=None,data=,address=0x0)\\n\"\"},\n"