gdb打印map成员显示python错误的可能解决办法,以及如何只让调试线程运行
错误显示:
(gdb) p *(events.get())
Python Exception <class 'TypeError'> expected string or bytes-like object:
Error while executing Python code.
解决办法:
disable xmethod
只让调试线程运行:
set scheduler-locking on
错误显示:
(gdb) p *(events.get())
Python Exception <class 'TypeError'> expected string or bytes-like object:
Error while executing Python code.
解决办法:
disable xmethod
只让调试线程运行:
set scheduler-locking on