   (setq mode-name "RDEBUG Watch")
   (setq buffer-read-only t)
   (set (make-local-variable 'rdebug-secondary-buffer) t)
+  (set (make-local-variable 'font-lock-defaults)
+       '(rdebug-variables-font-lock-keywords))
   (use-local-map rdebug-watch-mode-map)
   (run-mode-hooks 'rdebug-watch-mode-hook))
 

    map)
  "Keymap used in the variables buffer in the `rdebug' Ruby debugger.")

(defun rdebug-variables-mode ()
  "Major mode for the variables buffer in the `rdebug' Ruby debugger.

\\{rdebug-variables-mode-map}"
  (interactive "")
  (kill-all-local-variables)
  (setq major-mode 'rdebug-variables-mode)
  (setq mode-name "RDEBUG Variables")
  (setq buffer-read-only t)
  (set (make-local-variable 'rdebug-secondary-buffer) t)
  (use-local-map rdebug-variables-mode-map)
  ;; (set (make-local-variable 'font-lock-defaults)
  ;;     '(gdb-variables-font-lock-keywords))
  (run-mode-hooks 'rdebug-variables-mode-hook))

(defun rdebug--setup-variables-buffer (buf comint-buffer)

 "Major mode for displaying the stack trace in the `rdebug' Ruby debugger.

\\{rdebug-frames-mode-map}"
  (interactive)
  ;; (kill-all-local-variables)
  (setq major-mode 'rdebug-frames-mode)
  (setq mode-name "RDEBUG Stack Frames")
