   "^[ \t]+from \\([^:]+\\):\\([0-9]+\\)\\(in `.*'\\)?"
   "Regular expression that describes a Ruby traceback line.")
 
-(defconst rdebug-unittest-traceback-line-re
+(defconst rdebug-dollarbang-traceback-line-re
   "^[ \t]+[[]?\\([^:]+\\):\\([0-9]+\\):in `.*'"
-  "Regular expression that describes a Ruby traceback line from a unit test.")
+  "Regular expression that describes a Ruby traceback line from $! list.")
 
 (defun rdebug-rdebugtrack-overlay-arrow (activation)
   "Activate or de arrow at beginning-of-line in current buffer."


(defconst rdebug--stack-frame-regexp
  "^\\(-->\\|   \\) +#\\([0-9]+\\) +\\(.*\\)at line +\\([^:]+\\):\\([0-9]+\\)$"
  "Regexp to recognize stack frame lines in rdebug stack buffers.")

(defun rdebug--setup-stack-buffer (buf)
  "Detects stack frame lines and sets up mouse navigation."
  (with-current-buffer buf
    (let ((inhibit-read-only t)
	  (frame-point nil) ; position in stack buffer of selected frame
	  )
      (setq mode-name "RDEBUG Stack Frames")
      (goto-char (point-min))

	(beginning-of-line)
	(delete-char 3)
        (forward-line)
        (beginning-of-line))
      (when current-frame-point (goto-char current-frame-point)))
    ))

(defun rdebug-goto-stack-frame (pt)
  "Show the rdebug stack frame corresponding at PT in the rdebug stack buffer."
