On 2020-08-22, Chris Angelico <ros...@gmail.com> wrote:
> On Sun, Aug 23, 2020 at 5:51 AM Eko palypse <ekopaly...@gmail.com> wrote:
>> So the question is, what do I need to read/learn/understand in order to 
>> solve this issue?
>> Or in other words, how can I debug my script in an isolated environment.
>
> I'd go for the old standby - IIDPIO: If In Doubt, Print It Out!
> Instead of trying to use a debug harness, just run your code normally,
> and print out whatever you think might be of interest. If you don't
> have a console, well, that would be the first thing to do - you
> *always* need a console.

Yep.  Even if you have to bit-bang a tx-only UART on a GPIO pin.

I've had to do that many times, and the last time was only a couple
years ago.  Though I must admit I never had to do that _in_ Python or
on a platform capable of running Python...

--
Grant



-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to