addressalign-toparrow-leftarrow-leftarrow-right-10x10arrow-rightbackbellblockcalendarcameraccwcheckchevron-downchevron-leftchevron-rightchevron-small-downchevron-small-leftchevron-small-rightchevron-small-upchevron-upcircle-with-checkcircle-with-crosscircle-with-pluscontroller-playcredit-cardcrossdots-three-verticaleditemptyheartexporteye-with-lineeyefacebookfolderfullheartglobe--smallglobegmailgooglegroupshelp-with-circleimageimagesinstagramFill 1languagelaunch-new-window--smalllight-bulblightning-boltlinklocation-pinlockm-swarmSearchmailmediummessagesminusmobilemoremuplabelShape 3 + Rectangle 1ShapeoutlookpersonJoin Group on CardStartprice-ribbonprintShapeShapeShapeShapeImported LayersImported LayersImported Layersshieldstar-shapestartickettrashtriangle-downtriangle-uptwitteruserwarningyahooyoutube

Re: [DCPython] debugging in python

From: Matthew B.
Sent on: Wednesday, February 6, 2013, 3:46 PM
Weberror is really nice for interactively debugging exceptions in WSGI applications. We typically depend on this and heavy debug-level logging.

I'm a vim guy but have yet to check out the host of plugins that claim to do Python debugging. I often view logs in vim, however, so I did recently make a plugin that parses stack traces and opens the appropriate files in a new tab for quick viewing/editing: https://github.com/mattboehm/unstack .


On Wed, Feb 6, 2013 at 2:53 PM, Charles Beebe <[address removed]> wrote:
The closest thing I can think of to the Chrome debugger (including the breakpoint feature) is pudb. I've used it a couple of times, but I usually just stick with ipdb.

On Wed, Feb 6, 2013 at 2:36 PM, Paul Everitt <[address removed]> wrote:

On Feb 6, 2013, at 2:33 PM, David Greisen <[address removed]> wrote:

Hi all,

Off and on over the years I have attempted to learn how to use the python debugger, but have always found the learning curve just a bit too steep. However, I have been doing most of my recent web development with javascript which finally introduced me to the wonders that are debuggers. Chrome has an incredibly easy-to-use graphical debugger that makes it a snap to figure out exactly where my code is going wrong. Now that I'm returning to some serious python programming I dread every bug I find.

Is there a graphical debugger for python? Even if not, could someone point me to a good introduction to python debugging.

Would someone perchance be interested in doing a presentation on debugging in python?

For the most part this has fallen into the domain of Python IDEs. I use PyCharm and the graphical debugging is strong. Other IDEs are equally good at graphical debugging.

--Paul




--
Please Note: If you hit "REPLY", your message will be sent to everyone on this mailing list ([address removed])
This message was sent by Paul Everitt ([address removed]) from DC Python Meetup.
To learn more about Paul Everitt, visit his/her member profile





--
Please Note: If you hit "REPLY", your message will be sent to everyone on this mailing list ([address removed])
This message was sent by Charles Beebe ([address removed]) from DC Python Meetup.
To learn more about Charles Beebe, visit his/her member profile