Python3-3.7.3: cannot run pdb
Rhodri James
rhodri at kynesim.co.uk
Fri Jun 7 13:36:14 EDT 2019
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
More information about the Python-list
mailing list