Last active
March 14, 2019 10:05
-
-
Save Niakr1s/5d0aca90ae755c1d1a1df925d4c1d91b to your computer and use it in GitHub Desktop.
enable pretty-printers gdb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
python | |
import sys | |
sys.path.insert(0, "d:\\MinGW\\share\\gcc-8.2.0\\python") | |
from libstdcxx.v6.printers import register_libstdcxx_printers | |
register_libstdcxx_printers (None) | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. Install MinGW with gdb-python27 | |
2. Install python 2.7 | |
3. Add c:\users\{user} to HOME, if not exists - create it | |
4. Add .gdbinit to c:\users\{user}, change before path in it if needed | |
5. use gdb-python27.exe for debug |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment