lmacken / pyrasite

Inject code into running Python processes
http://pyrasite.com
GNU General Public License v3.0
2.8k stars 219 forks source link

fix bug: in a python that has no debug info, PyRun_SimpleString can't… #82

Open abc19899 opened 4 years ago

abc19899 commented 4 years ago

fix bug: in a python that has no debug info, PyRun_SimpleString can't be executed directed by gdb call command.

this maybe the reason for issuse: https://github.com/lmacken/pyrasite/issues/76

sanketplus commented 4 years ago

@abc19899 can you also explain how does this solve the problem?

abc19899 commented 4 years ago

Sorry to replay late. there is some info from gdb: https://sourceware.org/gdb/current/onlinedocs/gdb/Calling.html#Calling-functions-with-no-debug-info