![]() This will run the program til it exits, segfaults or you manually stop execution (using Ctrl+C). To run python under gdb there are also two ways. attach to already running python process.Note: the python executable needs to have debug symbols in it which may be another exe python2.7-dbg depending on your system ![]() python-debuginfo is installable after the first two commands.įor gdb support on legacy systems, look at the end of this page. On a modern Linux system, you can easily install these with: Extensions package includes debugging symbols and adds Python-specific commands into gdb. ![]() You need to have gdb on your system and Python debugging extensions. Hung processes (in cases where you can't get a Python traceback or debug with pdb)
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |