symbol table not found debugging python + C -


i have c module, compiled -g option, using of functions of module using python script. when run command -

gdb -ex r -args python test.py  

it shows-

reading symbols /usr/bin/python2.7...reading symbols /usr/bin/python2.7...(no debugging symbols found)...done. (no debugging symbols found)...done. 

and while using gdb command list throws -

no symbol table loaded.  use "file" command. 

what potential reason..?

what potential reason..

the reason /usr/bin/python2.7 compiled without debug symbols, , c module has not yet been dynamically loaded.

one way deal set deferred breakpoint on module initialization code. once hit breakpoint, list start working.


Comments

Popular posts from this blog

mysql - FireDac error 314 - but DLLs are in program directory -

git - How to list all releases of public repository with GitHub API V3 -

c++ - Getting C2512 "no default constructor" for `ClassA` error on the first parentheses of constructor for `ClassB`? -