On 07/06/2019 18:28, Rich Shepard wrote:
On Fri, 7 Jun 2019, Peter Otten wrote:

You need to fix all syntax errors before you can run the script, with or
without pdb.

Peter,

I thought the debugger would show me the location of the syntax error.

The syntax error causes Python to halt before it has finished compiling your program into byte code. There is nothing to run pdb on!

--
Rhodri James *-* Kynesim Ltd
--
https://mail.python.org/mailman/listinfo/python-list

Reply via email to