3 ms·
I think that JetBrains' PyCharm does an excellent job in the debugging arena. For the basics, you can effortlessly but breakpoints, click through stackframes,
by technocratius 4y ago
I think that JetBrains' PyCharm does an excellent job in the debugging arena.
For the basics, you can effortlessly but breakpoints, click through stackframes, inspect and modify variables via the GUI variable inspector window, execute statements in the console, etc.
A nice extra feature is the fact that as you step in, out and over certain pieces of code, the lines of code that are ran get annotated with the resulting values of the variables that get changed. E.g. when for-looping over an iterator, the value of x gets displayed next to the *for x in y:* line.
I also really love the conditional breakpoint functionality; it allows you to only break out into the debugger when a certain condition (expressed in python by the user) is met. Very handy when iterating over larger pieces of data that have sparse bugs in certain edge cases.
Edit: as a bonus, also quite nice that the vim plugin also works in the debugger console :)
- foobarbecue 4y agoYep, and it'll display your pandas dataframes and had some notebook support too. <3 jetbrains