1

I've written a frame filter that applies a FrameDecorator object to all frames, and it works for backtraces (when using the bt command). However, when I use up, down, or explicitly go to a frame like f 0, gdb prints the undecorated frame.

Is there a way to always apply a FrameDecorator even when stepping through frames?

4

1 回答 1

1

这是一个请求的功能,但尚未实现。gdb bug中有一些讨论。

一个临时选项可能是一个停止钩子bt 1。但这可能有点侵入性。

于 2018-06-25T19:42:48.757 回答