[python-win32] if self.quitting: raise BdbQuit

Tim Roberts timr at probo.com
Fri Apr 20 23:29:03 CEST 2012


bob gailer wrote:
> While debugging I get:
>
> [Dbg]>>> Traceback (most recent call last):
>    File "N:\pipelines\parsers.py", line 111, in __init__
>      self.parserSequence.results = self.results
>    File "N:\pipelines\parsers.py", line 111, in __init__
>      self.parserSequence.results = self.results
>    File "D:\Python27\lib\bdb.py", line 48, in trace_dispatch
>      return self.dispatch_line(frame)
>    File "D:\Python27\lib\bdb.py", line 67, in dispatch_line
>      if self.quitting: raise BdbQuit
> BdbQuit
>
> Why? What does this mean?

What had you typed?  When the debugger encounters an unexpected error,
it sets that quitting flag.  Later, in several places, if that flag is
set, it raises the BdbQuit exception to cause everything to exit.

-- 
Tim Roberts, timr at probo.com
Providenza & Boekelheide, Inc.



More information about the python-win32 mailing list