parameters: (self)
return_statement: return nested
docstring: Traverses the exception record linked list and builds a Python list.
  
          Nested exception records are received for nested exceptions. This
          happens when an exception is raised in the debugee while trying to
          handle a previous exception.
  
          @rtype:  list( L{ExceptionEvent} )
          @return:
              List of ExceptionEvent objects representing each exception record
              found in this event.
  
              There is always at least one exception record, so the list is
              never empty. All other methods of this class read from the first
              exception record only, that is, the most recent exception.
docstring_summary: Traverses the exception record linked list and builds a Python list.
docstring_tokens: Traverses the exception record linked list and builds a Python list .
function: def get_nested_exceptions(self):
          """
          Traverses the exception record linked list and builds a Python list.
  
          Nested exception records are received for nested exceptions. This
          happens when an exception is raised in the debugee while trying to
          handle a previous exception.
  
          @rtype:  list( L{ExceptionEvent} )
          @return:
              List of ExceptionEvent objects representing each exception record
              found in this event.
  
              There is always at least one exception record, so the list is
              never empty. All other methods of this class read from the first
              exception record only, that is, the most recent exception.
          """
          # The list always begins with ourselves.
          # Just put a reference to "self" as the first element,
          # and start looping from the second exception record.
          nested = [ self ]
          raw = self.raw
          dwDebugEventCode = raw.dwDebugEventCode
          dwProcessId      = raw.dwProcessId
          dwThreadId       = raw.dwThreadId
          dwFirstChance    = raw.u.Exception.dwFirstChance
          record           = raw.u.Exception.ExceptionRecord
          while True:
              record = record.ExceptionRecord
              if not record:
                  break
              raw = win32.DEBUG_EVENT()
              raw.dwDebugEventCode            = dwDebugEventCode
              raw.dwProcessId                 = dwProcessId
              raw.dwThreadId                  = dwThreadId
              raw.u.Exception.ExceptionRecord = record
              raw.u.Exception.dwFirstChance   = dwFirstChance
              event = EventFactory.get(self.debug, raw)
              nested.append(event)
          return nested
function_tokens: def get_nested_exceptions ( self ) : # The list always begins with ourselves. # Just put a reference to "self" as the first element, # and start looping from the second exception record. nested = [ self ] raw = self . raw dwDebugEventCode = raw . dwDebugEventCode dwProcessId = raw . dwProcessId dwThreadId = raw . dwThreadId dwFirstChance = raw . u . Exception . dwFirstChance record = raw . u . Exception . ExceptionRecord while True : record = record . ExceptionRecord if not record : break raw = win32 . DEBUG_EVENT ( ) raw . dwDebugEventCode = dwDebugEventCode raw . dwProcessId = dwProcessId raw . dwThreadId = dwThreadId raw . u . Exception . ExceptionRecord = record raw . u . Exception . dwFirstChance = dwFirstChance event = EventFactory . get ( self . debug , raw ) nested . append ( event ) return nested