6 ms·
Pudb – A full-screen, console-based Python debugger
- Newky 13y agoI have had some success using winpdb. it allows for graphical full screen debugging and it also allows for remotely debugging. this allows me to set up the debugger in some code on my dev box and run winpdb on my own box.
- deleted 13y ago[deleted]
- StavrosK 13y agoI have recently tried PuDB, and, I have to say, it is pretty damn nice. Never again will I use pdb/ipdb for debugging, now I can actually debug like a human being!
- greenyoda 13y agoPudb depends on the "termios" module (POSIX style tty control), whose doc says it's only available under Unix.[1] Does anyone know if there's a way to make it run on Windows (native Windows command prompt, not Cygwin)? [1] http://docs.python.org/2/library/termios.html http://docs.python.org/2/library/termios.html
- pekk 13y agoIt's unclear why you'd want to do so, since the Windows console environment sucks. Just use Winpdb, pdb, your Python IDE or whatever.
- a3n 13y agoOr ssh (putty or your favorite windows ssh) into a vagrant box and use PuDB or whatever you like. I'm beginning to see vagrant as cygwin's competition. Not quite a killer, because you can't run windows progs from vagrant/linux like you can from cygwin, but for most cygwin scenarios vagrant with a real *nix is much nicer. Best of both worlds, ssh into vagrant from cygwin.
- deleted 13y ago[deleted]
- xradionut 13y agoOr you can run Linux in a VM for CLI goodness. Better yet, run Windows in a VM for security goodness.
- algebr 13y agoWHY is easy_install still used?
- viraptor 13y agoTo install pip :)
- publicfig 13y agoCant wait to try this out in my workflow, but I really wish this was available through PIP. PDB has served me well, but having some if this information intuitively shown will be incredibly helpful.
- deadbeef404 13y agoI just installed this using pip. Is PIP something other than regular old pip?
- djtriptych 13y agoMaybe he meant picture-in-picture?
- rmc 13y agoIt is available though pip.
- dbarlett 13y agoBugjar [1] is similarly inspired by Turbo Pascal/C, but with a Tkinter GUI. [1] http://pybee.org/bugjar/ http://pybee.org/bugjar/
- shruubi 13y agoJust tried this out, and I must say, this is really freakin' cool! Simple controls, intuitive layout. I don't feel like I'm fighting the debugger to get it do to what I want anymore.
- winter_blue 13y agoI think the "Curses"[1] section in the Unix Hater's Handbook[2] applies well[3] here[3] :) [1] A reference to ncurses. [2] The book: http://web.mit.edu/~simsong/www/ugh.pdf http://web.mit.edu/~simsong/www/ugh.pdf [3] ... as in why make a UI for a constrained primitive interface such as a console....
- glesica 13y agoSo I can use it over SSH... which I do often. It's not like curses apps are that hard to make, especially with Python.
- mjcohen 13y agoI read the UHH many years ago, and learned a lot of useful information from it. It's a wee bit dated, but still a fun read.
- winter_blue 13y agoIt's amazing how so much of it is still so so relevant today! (The book was published in 1994.)
- anonymous 13y agoThat's not amazing, that's just sad.
- deleted 13y ago[deleted]
- teddyh 13y ago"Curses" actually refers to "curses". "ncurses" is new curses. From Wikipedia: “[…] ncurses is a free software emulation (clone) of the System V Release 4.0 (SVr4) curses, which was itself an enhancement over the discontinued classic 4.4 BSD curses.”
- metaobject 13y agoHow is this better than pdb + emacs?
- deadbeef404 13y agoSome of us don't use emacs?
- hartror 13y agoDo you have any magic sauce in your emacs config for python debugging or just the standard?
- jiaaro 13y agoIf it's a console app... isn't the full-screen bit up to me?
- andybak 13y ago"full-screen" as in "fills your console instead of scrolling" not "makes your console fill your monitor".
- shobhitjain26 13y agoReally awesome . Just loved it. Keep it up