 \\{rdebug-locals-mode-map}"
   ; (kill-all-local-variables)
   (interactive "")
+  (kill-all-local-variables)
   (setq major-mode 'rdebug-locals-mode)
   (setq mode-name "RDEBUG Locals")
   (setq buffer-read-only t)

    map)
  "Keymap to navigate/set/enable rdebug breakpoints.")

(defconst rdebug--breakpoint-regexp
  "^\\ +\\([0-9]+\\) +at +\\(.+\\):\\([0-9]+\\)$"
  "Regexp to recognize breakpoint lines in rdebug breakpoint buffers.")

  "Detects breakpoint lines and sets up mouse navigation."
  (with-current-buffer buf
    (let ((inhibit-read-only t))
      (rdebug-breakpoints-mode)
      (goto-char (point-min))
      (while (not (eobp))
        (let ((b (line-beginning-position)) (e (line-end-position)))
