8

pdb and winpdb both seem to be missing this essential (to me) feature. I saw something suggesting WingIDE has it but I'd prefer a solution that is free, and if I do have to pay, I'd prefer to pay for something that is better than Wing.

Piotr Dobrogost
  • 41,292
  • 40
  • 236
  • 366
John
  • 14,944
  • 12
  • 57
  • 57
  • 1
    Why was this marked as off-topic? Please reopen. – Piotr Dobrogost Apr 07 '20 at 13:01
  • From https://stackoverflow.com/help/on-topic : Questions asking us to recommend or find a book, tool, software library, tutorial or other off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. – Bob Gilmore Apr 07 '20 at 15:23

5 Answers5

4

You should check out Eric4

It's a very good Python IDE with a builtin debugger. The debugger has views for global variables, local variables and watchpoints.

Nicholas Riley
  • 43,532
  • 6
  • 101
  • 124
Terje
  • 41
  • 2
2

Please look what pydev in eclipse offers...

gath
  • 2,286
  • 5
  • 19
  • 11
  • Care to add some links to examples? – Glyph Oct 16 '08 at 12:06
  • 2
    It looks like watchpoints are not yet implemented in pydev. http://www.mail-archive.com/pydev-users@lists.sourceforge.net/msg02350.html – Paul D. Eden Oct 16 '08 at 16:54
  • 3
    Actually, that link is to an old reference... Watch expressions should be working on PyDev now (just select the code you want, right click > watch -- or maybe use the console during a debug session for prints: http://pydev.org/manual_adv_debug_console.html ) – Fabio Zadrozny Oct 18 '11 at 09:50
1

Take a look at PyScripter. It has an integrated debugger, watch windows and much more. It's open source and is developed here.

HTH

MvdD
  • 22,082
  • 8
  • 65
  • 93
  • 1
    PyScripter looks interesting but I'm on OS X and the P4D stuff appears to be only for Windows/Linux. – John Oct 16 '08 at 10:44
1

It's too bad that the standard pdb module that comes with python itself does not yet support watchpoints.

Described here: http://wiki.python.org/moin/PdbImprovments

Paul D. Eden
  • 19,939
  • 18
  • 59
  • 63
1

This reimplementation of the built-in pdb.py has watchpoints.

http://morepypy.blogspot.com/2008/06/pdb-and-rlcompleterng.html

I tried it but, in cursory tries was not able to get it to work.

Paul D. Eden
  • 19,939
  • 18
  • 59
  • 63