Function: gud-tooltip-process-output
gud-tooltip-process-output is a byte-compiled function defined in
gud.el.gz.
Signature
(gud-tooltip-process-output PROCESS OUTPUT)
Documentation
Process debugger output and show it in a tooltip window.
Source Code
;; Defined in /usr/src/emacs/lisp/progmodes/gud.el.gz
; This will only display data that comes in one chunk.
; Larger arrays (say 400 elements) are displayed in
; the tooltip incompletely and spill over into the gud buffer.
; Switching the process-filter creates timing problems and
; it may be difficult to do better. Using GDB/MI as in
; gdb-mi.el gets around this problem.
(defun gud-tooltip-process-output (process output)
"Process debugger output and show it in a tooltip window."
(remove-function (process-filter process) #'gud-tooltip-process-output)
(tooltip-show (tooltip-strip-prompt process output)
(or gud-tooltip-echo-area tooltip-use-echo-area
(not tooltip-mode))))