[Python-il] pdb talk

12 views
Skip to first unread message

Meir Kriheli

unread,
Apr 22, 2014, 6:30:02 AM4/22/14
to pyweb-il, python-il
In case you wanted to learn pdb a bit better, watch the talk from PyCon US 2014:

http://pyvideo.org/video/2673/in-depth-pdb


For all PyCon US 2014 talks, see:

Shlomi Fish

unread,
Apr 22, 2014, 4:42:05 PM4/22/14
to python-il, pyweb-il
On Tue, 22 Apr 2014 13:30:02 +0300
Meir Kriheli <mkri...@gmail.com> wrote:

> In case you wanted to learn pdb a bit better, watch the talk from PyCon US
> 2014:
>
> http://pyvideo.org/video/2673/in-depth-pdb
>

thanks for recommending this talk, Meir. It's only 40 minutes long, it's
interesting, and I learned quite a bit from it. pdb seems powerful and useful,
and it gave me some ideas for potential improvements to the Perl debuggers.

Regards,

Shlomi Fish

--
-----------------------------------------------------------------
Shlomi Fish http://www.shlomifish.org/
Best Introductory Programming Language - http://shlom.in/intro-lang

Think of the most incompotent organisation possible. The NSA would be more even
more incompetent than that.
http://www.shlomifish.org/humour/bits/facts/NSA/

Please reply to list if it's a mailing list post - http://shlom.in/reply .
_______________________________________________
Python-il mailing list
Pyth...@hamakor.org.il
http://hamakor.org.il/cgi-bin/mailman/listinfo/python-il

benny daon

unread,
Apr 23, 2014, 4:17:29 AM4/23/14
to pyweb-il, python-il
There's also ipdb which has add autocompletion and colours to the same interface.

just run `pip install ipdb` and you'll have it.

Benny


--
You received this message because you are subscribed to the Google Groups "PyWeb-IL" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pyweb-il+u...@googlegroups.com.
To post to this group, send email to pywe...@googlegroups.com.
Visit this group at http://groups.google.com/group/pyweb-il.
For more options, visit https://groups.google.com/d/optout.



--

"קודם כל עולה כאן השאלה," פתח שוב האדון האפור "מה יש לידידיך מזה שאת קיימת? האם זה מביא להם איזו תועלת? לא. האם זה עוזר להם להתקדם, להרויח יותר, לעשות משהו מחייהם? ודאי שלא..." (מומו, מיכאל אנדה)

http://yeda.us/daonb

Meir Kriheli

unread,
Apr 23, 2014, 4:20:41 AM4/23/14
to pyweb-il, python-il
And pudb and more, which are mentioned in the talk :)

Udi Oron

unread,
Apr 29, 2014, 8:17:36 PM4/29/14
to PyWeb-IL, python-il
Hi!

I really think that if you want to spend time on improving your debugging skills, you should better stick with this:

Udi


--

Dotan Cohen

unread,
Nov 21, 2014, 2:30:40 PM11/21/14
to Udi Oron, python-il, PyWeb-IL
On Wed, Apr 30, 2014 at 3:17 AM, Udi Oron <udi...@gmail.com> wrote:
> Hi!
>
> I really think that if you want to spend time on improving your debugging
> skills, you should better stick with this:
> https://www.udacity.com/course/cs259
>

Is a $200 course really worth it to learn to debug? Does that course
even address Python, which is fundamentally different than C / Java?



--
Dotan Cohen

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

Udi Oron

unread,
Nov 21, 2014, 2:33:09 PM11/21/14
to Dotan Cohen, python-il, PyWeb-IL

At the time of writing it was free to watch.
It might still be, take a look around the site.

Udi

Dotan Cohen

unread,
Nov 21, 2014, 2:37:26 PM11/21/14
to Udi Oron, python-il, PyWeb-IL
On Fri, Nov 21, 2014 at 9:33 PM, Udi Oron <udi...@gmail.com> wrote:
> At the time of writing it was free to watch.
> It might still be, take a look around the site.
>

Thanks. I also noticed that the course description does in fact
mention Python, as in "build several automated debugging tools in
Python". It doesn't mention that the tools are for debugging Python
code, though I suppose that is implicit.

Shai Berger

unread,
Nov 22, 2014, 10:37:54 AM11/22/14
to pyth...@hamakor.org.il, PyWeb-IL
On Friday 21 November 2014 21:37:22 Dotan Cohen wrote:
>
> Thanks. I also noticed that the course description does in fact
> mention Python, as in "build several automated debugging tools in
> Python". It doesn't mention that the tools are for debugging Python
> code, though I suppose that is implicit.
>
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.

Have fun,
Shai.

Dotan Cohen

unread,
Nov 22, 2014, 11:49:28 AM11/22/14
to Shai Berger, PyWeb-IL, python-il
On Sat, Nov 22, 2014 at 5:37 PM, Shai Berger <sh...@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.
Reply all
Reply to author
Forward
0 new messages