So my friend is coding in python, and we're having the weirdest issues. He opens up cmd, goes into his directory with the script, runs it, and is unable to see the traceback. The only time that traceback is seen if it occurs while the python is processing the file, that is, a runtime error.
Yes, he is in the object review mode, yes, he's using nvda+up and down arrows to try and read the screen, but it still doesn't work. He's on windows 10, by the way.
So, tips? Is there a way to catch and write a traceback to a log or something? I'm aware of try and except statements, but surely you don't need to wrap the program in a giant web of try and except to catch any problems that may arise?
What is hard is making code that accepts different and sometimes unexpected types of input and still works.
This is what truly takes a large amount of effort on a developer's part.