有没有类似 Python 的 inspect 库的 C 语言库?
def myfunction():
import inspect
inspect.stack(): # this give you complete stack up to this function call
调试 Python 程序非常有用。
实际上我想要调试 GTK Combobox 组件,为了理解完整的流程,我需要完整的函数调用堆栈。
那么是否有类似于 Python inspect 包的 C 语言技术库呢?