Debugging standard types (std::map, std::set, etc)
Posted: Sat Sep 24, 2011 4:25 am
I input the following into Debugger New Type and it worked great:
Are there any info how to do similar configuration for other STL types: std::map, std::set and others?
Why not to include predefined configurations for all standard types instead of forcing the user to do it manually? I suspect that expressions will be different between different STL implementations, so let's start with GCC since I am using it.
Code: Select all
Type: vector
Expression: *($(Variable)._M_impl._M_start)@$(Variable).size()
Debugger Command: print
Why not to include predefined configurations for all standard types instead of forcing the user to do it manually? I suspect that expressions will be different between different STL implementations, so let's start with GCC since I am using it.