I was recently introduced to Spyder. I decided to use Spyder because of its debugging capabilities. However, I have not been able to effectively use pdb in Spyder. When I started, I had the impression that the debugging tool would be similar to that of MATLAB. Is this true? How can the interpreter point to the breakpoint? I'd appreciate a proper resource on this.
Spyder's debugger is integrated with the Breakpoints pane, which lists the file, line, and condition (if any) of every breakpoint defined. To open it, select Debug ‣ List breakpoints, or press Ctrl - Shift - B ( Cmd - Shift - B on macOS).
Execute a Script in Spyder To run a script in Spyder IDE, there are two options: use the command line option, use runfile in IPython.
(Spyder dev here) If you are using an Spyder version less than 2.2.5, please update it. On it you will find a Debug menu from which you can set breakpoints and control all debugging actions we have to offer.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With