Function: gud-display-frame

gud-display-frame is an interactive and byte-compiled function defined in gud.el.gz.

Signature

(gud-display-frame)

Documentation

Find and obey the last filename-and-line marker from the debugger.

Obeying it means displaying in another window the specified file and line.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/gud.el.gz
(defun gud-display-frame ()
  "Find and obey the last filename-and-line marker from the debugger.
Obeying it means displaying in another window the specified file and line."
  (interactive)
  (when gud-last-frame
    (gud-set-buffer)
    ;; Support either (file . line) or (file line column).
    (if (consp (cdr gud-last-frame))
        (let ((line (cadr gud-last-frame))
              (column (caddr gud-last-frame)))
          (gud-display-line (car gud-last-frame) line column))
      (gud-display-line (car gud-last-frame) (cdr gud-last-frame)))
    (setq gud-last-last-frame gud-last-frame
	  gud-last-frame nil)))