开发者

GDB Support STL visualisation (pretty printing)

开发者 https://www.devze.com 2023-04-04 16:06 出处:网络
GDB 7.0 added pretty prnting for STL object. However this implementation supports only GCC version of STL. If you are using Dinkum STL implementation for example, you probably see this message:

GDB 7.0 added pretty prnting for STL object. However this implementation supports only GCC version of STL. If you are using Dinkum STL implementation for example, you probably see this message:

  File "c:/development/bbndk/python\libstdcxx\v6\printers.py", line 588, in to_string
    ptr = self.val ['_M_dataplus']['_M_p']
gdb.error: There is no member or method named _M_dataplus.

Does anybody knows about open开发者_JS百科 source or commertial implementation of pretty printer library compatible with Dinkum?


Modifying libstdcxx/v6/printers.py to work with Dinkum STL ought to be pretty trivial.

Does anybody knows about open source or commertial implementation of pretty printer library compatible with Dinkum

Ask Dinkum?

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号