- 论坛徽章:
- 0
|
例如 (gdb)call PyObject_printf_deep("123")
#0 0xb7e4cbae in PyObject_printf_self (name=0x860b608 "", op=0x83e58955) at Objects/object.c:2417
#1 0xb7e4cc85 in PyObject_printf_deep_impl (name=0x860b608 "", op=0x83e58955, deep=0, max_deep=1) at Objects/object.c:2436
#2 0xb7e4ce2b in PyObject_printf_deep (name=0x860b608 "", op=0x83e58955, max_deep=1) at Objects/object.c:2491
#3 <function called from gdb>
#4 0xb7e47f1e in PyDict_Enumerate (obj=0x83e58955, n_add=0) at Objects/dictobject.c:2425
#5 0xb7e4814e in PyObject_Enumerate (obj=0xb788b41c) at Objects/dictobject.c:2504
#6 0x08053d7a in main (argc=1, argv=0xbfac4ef4) at main.cpp:163
PyObject_printf_deep 执行时出现段错误,但又不想调试这个错误怎么办? 能不能直接退回到 PyDict_Enumerate (frame 4) ? |
|