How to debug c libraries on python?

yuan zheng tsinghuayuan86 at
Wed Apr 6 01:08:59 EDT 2011

Hi, everyone:
     I encouter a problem: I invoke some c libraries in python
through the api "CDLL".Possibly, there is sth. wrong in my c libraries.
It would appear segment fault when executing some func in c libraries
which invoked through "CDLL". How can I debug?
     I attempted to debug it with pdb, but this is not the problem of
python, the fault belongs to c. How can I do?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the Python-list mailing list