Message89597
Take this program:
8< -----------------------------------------------
print "START"
a = [
1
for i in range(10)]
8< -----------------------------------------------
as "a.py", run "python -m pdb a.py", say "b 3" to set a breakpoint on
line 3. Say "c" to start execution. Watch the program finish without
ever hitting the breakpoint.
The problem is that line 3 has no bytecode generated for it, so there's
nothing to break on. Pdb should provide feedback in this case. I'm the
author of PuDB, and I've written code to check for this condition Please
feel free to steal that code, here:
http://is.gd/19fvD |
|
Date |
User |
Action |
Args |
2009-06-22 14:09:14 | inducer | set | recipients:
+ inducer |
2009-06-22 14:09:14 | inducer | set | messageid: <1245679754.68.0.982838087844.issue6322@psf.upfronthosting.co.za> |
2009-06-22 14:09:13 | inducer | link | issue6322 messages |
2009-06-22 14:09:12 | inducer | create | |
|