[wingide-users] Breakpoints at pass?
Tom Stambaugh
tms at zeetix.com
Thu Mar 11 17:42:49 MST 2010
In the following fragment of code, a breakpoint set at the "pass" is
often skipped:
answer = self.someReturnValue()
# do stuff here
if aVariable is None:
someVariable = self.doSomething()
else:
pass
return answer
A breakpoint set at the "if" statement works as expected, as does a
breakpoint set at the "return" statement. I'd like to break at the
"pass" statement so that I can inspect local state before I write code
that will go there.
Am I misunderstanding what "pass" does, or is this a bug?
Thanks,
Tom
--
Tom Stambaugh, Founder
Zeetix LLC/ZeeGuide/ZeeForge
27 Auburn Street
Brookline, MA 02446
617-734-8934 (land)
617-721-0446 (cell)
More information about the wingide-users
mailing list