From: "Евгений Ростовцев" <real.altlinux.org@gmail.com> To: devel@lists.altlinux.org Subject: [devel] Отладка модулей python Date: Wed, 1 Dec 2010 21:53:17 +0600 Message-ID: <AANLkTinJ9M1oq3aKXAZzdmRyA2bHVZQapkkGA7ygvH6V@mail.gmail.com> (raw) Привет! Никто не подскажет, как отлаживать модули .so для питона? А то gdb что-то совсем не помогает, выдаёт ошибку уже после завершения работы: > gdb python GNU gdb (GDB) 7.0.1-alt3 (ALT Linux) Copyright (C) 2009 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "i586-alt-linux". For bug reporting instructions, please see: <http://www.gnu.org/software/gdb/bugs/>... Reading symbols from /usr/bin/python...(no debugging symbols found)...done. (gdb) run Starting program: /usr/bin/python [Thread debugging using libthread_db enabled] Python 2.6.6 (r266:84292, Oct 1 2010, 13:14:52) [GCC 4.4.4 20100726 (ALT Linux 4.4.4-alt3)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import dolfin Detaching after fork from child process 19743. Detaching after fork from child process 19790. >>> ^D [localhost:19574] opal_sockaddr2str: malloc() failed Program exited normally. (gdb) Это только python с отладочной информацией пересобрать или есть более дешёвые средства? Сам модуль собран уже с отладочной информацией. -- REAL aka Евгений Ростовцев, программист ЦНИТ КемГУ
reply other threads:[~2010-12-01 15:53 UTC|newest] Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=AANLkTinJ9M1oq3aKXAZzdmRyA2bHVZQapkkGA7ygvH6V@mail.gmail.com \ --to=real.altlinux.org@gmail.com \ --cc=devel@lists.altlinux.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
ALT Linux Team development discussions This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \ devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru public-inbox-index devel Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.devel AGPL code for this site: git clone https://public-inbox.org/public-inbox.git