When comparing PyCharm Community Edition vs pudb, the Slant community recommends PyCharm Community Edition for most people. In the question“What are the best Python debuggers?” PyCharm Community Edition is ranked 2nd while pudb is ranked 5th. The most important reason people chose PyCharm Community Edition is:
PyCharm has CVS, Git, Subversion and Mercurial integration.
Ranked in these QuestionsQuestion Ranking
Pros
Pro Version control integration
PyCharm has CVS, Git, Subversion and Mercurial integration.
Pro Sophisticated autocompletion
PyCharm includes sophisticated heuristics for determining what each variable type is and providing autocompletion suggestions for them.
Pro Excellent refactoring support
There are many refactoring options including renaming and changing signature across entire projects. It also includes the an ability to preview changes before committing and exclude anything unwanted.
Pro Excellent debugger
PyCharm can leverage run-time information when running your application with the built-in debugger to figure out what types can possibly be passed to which functions, etc.
Pro Framework support
PyCharm supports cefpython and electron.js (with c bindings).
Pro Pro features Free for students
JetBrains offers a Student Pack, which gives you a student license and access to the pro features of selected products such as PyCharm, IntelliJ IDEA and Php Storm.
Pro Has a terminal UI like GUI debugger
Pro Breakpoints are remembered
Breakpoints added during debugging (by pressing b
) are not forgotten between consecutive executions of pudb.
Pro Easy to drop into an iPython terminal to test things
Pro Full file visible at once when breakpoint is reached
No need to type l or ll in order to see more lines around current position.
Pro Allows navigation in call stack
If you go back to prior frame in the call stack the context is preserved and updated int he variable watch pane.
Pro Allows addition of breakpoints in python libs
Pro Superb variable inspection
- Allows variable highlighting
- Allows adding new variables to be watched
- Allows adding variables to be watches from inside lists / dicts
- Toggle variable representation (repr, str, type)
Pro Different themes available
Two dark themes included.
Pro Distraction free
Only what you need to get the job done.
Cons
Con Memory-hungry
Can use a lot of memory (several GBs), especially when dealing with large projects.
Con Can sometimes become very slow, freeze, and become unresponsive
It becomes extremely frustrating when you have to wait for the text you've typed to appear in your editor. Furthermore, during these freezes the editor does not always queue what your're typing, so you might have to wait > 15 seconds before you can continue your editing. This quickly affects the concentration of a developer, causing flow interruption and general performance degradation.
Con Feature incomplete
Some features are locked behind a paywall. Although if you are a student, you can apply for the Student Pack.
Con Doesn't work natively under Windows
Requires Linux Subsystem for Windows, or cygwin.