mirror of
https://github.com/pybind/pybind11.git
synced 2024-11-22 05:05:11 +00:00
Updated Debugging segfaults and hard to decipher pybind11 bugs (markdown)
parent
20cf48052d
commit
e30e847a3d
@ -113,4 +113,10 @@ Program received signal SIGSEGV, Segmentation fault.
|
|||||||
0x<crazyaddress> in pybind11::detail::get_type_info (type=0xdeed90) at ../include/pybind11/detail/type_caster_base.h:160
|
0x<crazyaddress> in pybind11::detail::get_type_info (type=0xdeed90) at ../include/pybind11/detail/type_caster_base.h:160
|
||||||
160 *value = 0xbadf00d;
|
160 *value = 0xbadf00d;
|
||||||
(gdb)
|
(gdb)
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## GDB on C++ Programs with an Embedded Interpreter
|
||||||
|
|
||||||
|
Sometimes, it may be easier to test a program with an embedded interpreter.
|
||||||
|
|
||||||
|
TODO(eric): Add an exampel.
|
Loading…
Reference in New Issue
Block a user