PDB does not allow jumping to first statement?

Chris Lasher chris.lasher at gmail.com
Mon Mar 26 18:06:27 EDT 2007


Hi all,

I have a simple script:

---
#!/usr/bin/env python

a = 1
b = 2

c = a + b

print c
---

I launch said script with pdb:

python -m pdb simple.py

I noticed that I absolutely cannot jump back to the first statement
(line 3, "a = 1") using the jump command. I can jump to any other line
BUT the first statement's using the "jump <line number>" command. I
experience the same behavior with Winpdb and rpdb2. Why is this?

Stumped,
Chris




More information about the Python-list mailing list