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

html - Firefox flex bug applied to buttons? -

html - Missing border-right in select on Firefox -

c# - two queries in same method -