0

Because it is very inconvenient to use gdb to debug c++ code, especially when you use stl. For example if you want to check the contents in vector, you need to use some code like:

print *(myVector._M_impl._M_start)@myVector.size()

and the result is not straightforward.

further more ,if you want to print std::map, it seems there is no easy way.

4

0 に答える 0