

Something like: yum -nogpgcheck localinstall is a cross-platform programming language that can run on multiple platforms like Windows, macOS, Linux, and can be ported to the Java and. According to the messages in your original question, you will have to install the debuginfo for glibc and python-libs too (or maybe first). It's been years since I've use yum, but I believe that you can download that package manually, and run yum on the downloaded package to install it. I found -debuginfo packages for your original python packages in several places, but there is a warning (eg. I don't think the original iso will have the info you need. Here are some thoughts: The RHEL iso is probably not the correct source for -devel information.

Are you sure you want to debug Python itself? Pdb.set_trace() # This introduces a breakpointĮDIT: So the question was how to install debug-info for Python. To debug Python scripts you can use pdb (instead of gdb) which has some similarities in its commands. If you start gdb python, you're asking gdb to debug the python interpreter. As far as I know gdb doesn't know about Python scripts. I believe the debug info is for debugging the Python interpreter itself, not Python scripts. P.S.: There are 2 yum data source: the RHEL 7.0 iso and CentOS link: No debuginfo packages available to install

Missing separate debuginfos, use: debuginfo-install python-2.7.86_64Īccording to its prompts, I execute debuginfo-install python-2.7.86_64 command, and the output is: scripts]# debuginfo-install python-2.7.86_64Ĭentos-extra/primary_db | 563 kB 00:00:00Ĭould not find debuginfo for main pkg: python-2.7.86_64Ĭould not find debuginfo pkg for dependency package 86_64Ĭould not find debuginfo pkg for dependency package python-libs-2.7.86_64 Reading symbols from /usr/bin/python2.7.Reading symbols from /usr/bin/python2.7.(no debugging symbols found). This GDB was configured as "x86_64-redhat-linux-gnu".įor bug reporting instructions, please see: There is NO WARRANTY, to the extent permitted by law. This is free software: you are free to change and redistribute it. License GPLv3+: GNU GPL version 3 or later GNU gdb (GDB) Red Hat Enterprise Linux 7.6.1-51.el7Ĭopyright (C) 2013 Free Software Foundation, Inc. After starting gdb, it outputs: scripts]# gdb python I want to use gdb to debug python script.
