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

symfony - InvalidConfigurationException in SecurityExtension.php line 429: No authentication listener registered for firewall "secured_area" -

angular ui router - 10 digest iterations reached in angularjs when using $state.go -

javascript - Handling constructor related functions while testing with mocha and sinon -