Function: gud-menu-map

gud-menu-map is an interactive and byte-compiled function defined in gud.el.gz.

Signature

(gud-menu-map ARG1)

Documentation

Menu for gud-mode.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/gud.el.gz
(easy-menu-define gud-menu-map gud-menu-mode-map
  "Menu for `gud-mode'."
  '("Gud"
    ["Continue" gud-cont
     :enable (not gud-running)
     :visible (not (eq gud-minor-mode 'gdbmi))]
    ["Next Line" gud-next
     :enable (not gud-running)]
    ["Step Line" gud-step
     :enable (not gud-running)]
    ["Next Instruction" gud-nexti
     :enable (not gud-running)
     :visible (memq gud-minor-mode '(gdbmi gdb lldb dbx))]
    ["Step Instruction" gud-stepi
     :enable (not gud-running)
     :visible (memq gud-minor-mode '(gdbmi gdb lldb dbx))]
    ["Finish Function" gud-finish
     :enable (not gud-running)
     :visible (memq gud-minor-mode '(gdbmi gdb lldb guiler xdb jdb pdb))]
    ["Watch Expression" gud-watch
     :enable (not gud-running)
     :visible (eq gud-minor-mode 'gdbmi)]
    ["Print Expression" gud-print
     :enable (not gud-running)]
    ["Dump object-Dereference" gud-pstar
     :label (if (eq gud-minor-mode 'jdb)
                "Dump object"
              "Print Dereference")
     :enable (not gud-running)
     :visible (memq gud-minor-mode '(gdbmi gdb lldb jdb))]
    ["Print S-expression" gud-pp
     :enable (and (not gud-running)
		  (bound-and-true-p gdb-active-process))
     :visible (and (string-equal
		    (buffer-local-value
		     'gud-target-name gud-comint-buffer)
		    "emacs")
		   (eq gud-minor-mode 'gdbmi))]
    ["Down Stack" gud-down
     :enable (not gud-running)
     :visible (memq gud-minor-mode '(gdbmi gdb lldb guiler dbx xdb jdb pdb))]
    ["Up Stack" gud-up
     :enable (not gud-running)
     :visible (memq gud-minor-mode
		    '(gdbmi gdb lldb guiler dbx xdb jdb pdb))]
    ["Set Breakpoint" gud-break
     :enable (or (not gud-running) gud-async-running)
     :visible (gud-tool-bar-item-visible-no-fringe)]
    ["Temporary Breakpoint" gud-tbreak
     :enable (or (not gud-running) gud-async-running)
     :visible (memq gud-minor-mode '(gdbmi gdb lldb sdb xdb))]
    ["Remove Breakpoint" gud-remove
     :enable (or (not gud-running) gud-async-running)
     :visible (gud-tool-bar-item-visible-no-fringe)]
    ["Continue to selection" gud-until
     :enable (not gud-running)
     :visible (and (memq gud-minor-mode '(gdbmi gdb lldb perldb))
		   (gud-tool-bar-item-visible-no-fringe))]
    ["Stop" gud-stop-subjob
     :visible (or (not (memq gud-minor-mode '(gdbmi pdb)))
		  (and (eq gud-minor-mode 'gdbmi)
                       (gdb-show-stop-p)))]
    ["Continue-Run" gud-go
     :label (if (bound-and-true-p gdb-active-process)
                "Continue" "Run")
     :visible (and (eq gud-minor-mode 'gdbmi)
                   (gdb-show-run-p))]
    ["Run" gud-run
     :enable (or (not gud-running) gud-async-running)
     :visible (or (memq gud-minor-mode '(gdb lldb dbx jdb))
		  (and (eq gud-minor-mode 'gdbmi)
		       (or (not (gdb-show-run-p))
			   (bound-and-true-p
			    gdb-active-process))))]
    ["Refresh" gud-refresh]
    ["Show GUD tooltips" gud-tooltip-mode
     :enable (and (not emacs-basic-display)
		  (display-graphic-p)
		  (fboundp 'x-show-tip))
     :visible (memq gud-minor-mode
		    '(gdbmi lldb guiler dbx sdb xdb pdb))
     :button (:toggle . gud-tooltip-mode)]
    ["Info (debugger)" gud-goto-info]))