* [devel] Отладка модулей python
@ 2010-12-01 15:53 Евгений Ростовцев
0 siblings, 0 replies; only message in thread
From: Евгений Ростовцев @ 2010-12-01 15:53 UTC (permalink / raw)
To: devel
Привет!
Никто не подскажет, как отлаживать модули .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 Евгений Ростовцев, программист ЦНИТ КемГУ
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2010-12-01 15:53 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-12-01 15:53 [devel] Отладка модулей python Евгений Ростовцев
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