-
Notifications
You must be signed in to change notification settings - Fork 0
522623905/gdb-stl
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
gdb 调试的过程中无法读取STL容器中的数据 下载后把它放到用户目录下改名为.gdbinit。之后再进入 gdb就可以用以下这些命令查看容器内容了: pvector, plist, pmap, pset, pdequeue, pstack, pqueue, ppqueue, pbitset, pstring, pwstring 用help可以查看命令的帮助,比如help pvector。 使用多态时候使用ptype指令 查看基类指针类型 只能看到基类的类型 如果要看到基类指针真实指向的子类类型需要设置 set print object on
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published