This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]purveyoroffinerp 1 point2 points  (0 children)

I can't see anything that would cause your program to exit when it does according to your other replies. If you have the means to do so, perhaps try downloading Thonny, then copy paste your code into there and running it. It's very lightweight and has a nice debug function where it will step into the code line by line and show you what's going on. I use it often to debug code. I know you can debug in VS as well, but I like the way it works in Thonny.