 
     if !@getUnifiedView().isVisible()
       @getUnifiedView().setVisible(true)
-      @statusView.setActive(true)
+      @statusView?.setActive(true)
       if !@dbgp.listening()
         @dbgp.listen()
     

      
    else
      @getUnifiedView().setVisible(false)
      @statusView.setActive(false)
      @dbgp.close()

  addWatch: ->


  deactivate: ->
    @unifiedView?.setConnected(false)
    @statusView?.destroy()
    @statusView = null
    @unifiedView?.destroy()
    @subscriptions.dispose()

