 
 exports.cleanup = () ->
   for remove in listeners
-    log "removing listener"
     remove()

        when 'function'
          TreeViewItem("#{name} : function() { ... }", handlers: handlers)
        when 'object'
          decorate = (title) -> (state) -> if state.isOpen then title else "#{title} { ... }"
          ref = value.value.ref || value.value.handle
          TreeView(decorate("#{name} : #{className}"), (() => builder.loadProperties(ref).map(builder.property)), handlers: handlers)

    frame: (frame) ->
      log "builder.frame #{frame.script.name}, #{frame.script.line}"

              instance.properties[idx].value = value
            return instance.properties

    loadArrayLength: (ref) ->
      _debugger
      .lookup(ref)
      .then (instance) ->
        _debugger.lookup(instance.properties[0].ref)
      .then (result) ->
        result.value

    loadFrames: () ->
      log "builder.loadFrames"
      _debugger.fullTrace()
