> On Jan 26, 2021, at 2:00 PM, C W <tmrs...@gmail.com> wrote: > > Hello everyone, > > I'm a long time Matlab and R user working on data science. How do you > troubleshooting/debugging in Python? > Another approach is to run the code in an IDE. I happen to use Wing, but that is a coincidence. But almost ANY IDE will let you set a break point, then single-step through your code starting at the break point and examine the values of your variables at each step. Sometimes this is an awfully big hammer for what is a head-slapping mistake. But it has never failed me. Good luck, Bill -- https://mail.python.org/mailman/listinfo/python-list
Re: How do you debug in Python? Coming from a Matlab and R user. I'm already aware of pdb.
William Ray Wing via Python-list Tue, 26 Jan 2021 17:31:32 -0800
- Re: How do you debu... joseph pareti
- Re: How do you debu... Cameron Simpson
- Re: How do you debu... Michael Torrie
- Re: How do you ... C W
- Re: How do you ... Michael Torrie
- Re: How do you ... Alan Gauld via Python-list
- Re: How do you debug in Python? Coming fr... Cameron Simpson
- Re: How do you debug in Python? Comi... Grant Edwards
- Re: How do you debug in Python? ... Michael Torrie
- Re: How do you debug in Python? Coming fr... William Ray Wing via Python-list
- Re: How do you debug in Python? Comi... Irv Kalb
- Re: How do you debug in Python? ... C W
- Re: How do you debug in Pyth... 2QdxY4RzWzUUiLuE
- Re: How do you debug in ... Alan Gauld via Python-list
- Re: How do you debug in Pyth... duncan smith
- Re: How do you debug in ... J. Pic
- Re: How do you debug in Pyth... Grant Edwards
- Re: How do you debug in Python? Coming fr... Dan Stromberg
- Re: How do you debug in Python? Comi... Dan Stromberg
- Re: How do you debug in Python? ... Antoon Pardon