C++ GDB Python Pretty Printing Tutorial?

后端 未结 2 702
走了就别回头了
走了就别回头了 2020-12-02 07:55

I am looking for a solid tutorial on creating a custom printer.

There are a few sparse pages on the GDB page however they are far from complete and leave much to the

2条回答
  •  一整个雨季
    2020-12-02 08:17

    Check out Tom Tromey's pretty printing tutorials part 1 and part 2. There is also the libstdc++-v6 pretty printer implementation to look at, which is what I used myself as a template when I started out. A somewhat simpler example (as of this writing) is the Boost pretty printer by Rüdiger Sonderfeld.

提交回复
热议问题