[Python-il] [pyweb-il:4286] pdb talk

Dotan Cohen dotancohen at gmail.com
Sat Nov 22 18:49:24 IST 2014


On Sat, Nov 22, 2014 at 5:37 PM, Shai Berger <shai at platonix.com> wrote:
> Since the course mentioned Python (but no other languages) as a prerequisite,
> I suppose you are right. But in general, you should be aware that gdb has an
> embedded Python interpreter (since version 7 I think) so you can automate C or
> C++ debugging actions in Python. Also, there's a script you can download -- I
> don't remember where from -- which allows you to debug Python programs in gdb;
> this is very useful if you're working with extensions. With this script, you
> can e.g. see the full mixed-language call stack, and examine variables in each
> language etc.
>

That is really interesting, though I suppose a natural progression of
what one would do with Python. Thanks for mentioning it, I'll look
into it.


-- 
Dotan Cohen

http://gibberish.co.il
http://what-is-what.com


More information about the Python-il mailing list