| Server IP : 217.160.0.212 / Your IP : 216.73.217.5 Web Server : Apache System : Linux www 6.18.52-i1-ampere #1203 SMP Mon Sep 14 18:29:59 CEST 2026 aarch64 User : sws1073854427 ( 1073854427) PHP Version : 8.4.23 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /usr/share/emacs/28.2/lisp/emacs-lisp/ |
Upload File : |
;ELC ;;; Compiled ;;; in Emacs version 28.2 ;;; with all optimizations. (byte-code "\300\301\302\303\304\305\306\307&\210\310\311\312\313\314DD\315\316\317%\207" [custom-declare-group trace nil "Tracing facility for Emacs Lisp functions." :prefix "trace-" :group lisp custom-declare-variable trace-buffer funcall function #[0 "\300\207" ["*trace-output*"] 1 ""] "Trace output will by default go to that buffer." :type string] 8) (defvar trace-level 0) (defvar trace-advice-name 'trace-function\ ) (defvar trace-separator (byte-code "\300\301\302\303\304\"\"\207" [format "%s\n" make-string 70 61] 5)) #@51 If non-nil, all tracing is temporarily inhibited. (defvar inhibit-trace nil (#$ . 614)) #@131 Helper function to get internal values. You can call this function to add internal values in the trace buffer. (fn &rest VALUES) (defalias 'trace-values #[128 "?\205 r\303 !q\210db\210\304\305\n\306$c)\207" [inhibit-trace trace-buffer trace-level get-buffer-create trace-entry-message trace-values ""] 6 (#$ . 709)]) #@271 Generate a string that describes that FUNCTION has been entered. LEVEL is the trace level, ARGS is the list of arguments passed to FUNCTION, and CONTEXT is a string describing the dynamic context (e.g. values of some global variables). (fn FUNCTION LEVEL ARGS CONTEXT) (defalias 'trace-entry-message #[1028 "\301\302\303\304\305\306\307S]\310\"\311#\312V\203 \311\202 \313B&)\207" [print-circle t format "%s%s%d -> %S%s\n" mapconcat char-to-string make-string 0 124 " " 1 ""] 11 (#$ . 1037)]) #@250 Generate a string that describes that FUNCTION has exited. LEVEL is the trace level, VALUE value returned by FUNCTION, and CONTEXT is a string describing the dynamic context (e.g. values of some global variables). (fn FUNCTION LEVEL VALUE CONTEXT) (defalias 'trace-exit-message #[1028 "\301\302\303\304\305\306S\307\"\310#\311V\203 \310\202 \312&)\207" [print-circle t format "%s%s%d <- %s: %S%s\n" mapconcat char-to-string make-string 124 " " 1 ""] 12 (#$ . 1553)]) (defvar trace--timer nil) #@12 (fn BUF) (defalias 'trace--display-buffer #[257 "\206 \301\302\"?\205 \303\304\305\306\307\"#\211\207" [trace--timer get-buffer-window visible run-with-timer 0 nil make-closure #[0 "\302\303\300\302\304#\207" [V0 trace--timer nil display-buffer 0] 4]] 7 (#$ . 2068)]) #@369 Build the piece of advice to be added to trace FUNCTION. FUNCTION is the name of the traced function. BUFFER is the buffer where the trace should be printed. BACKGROUND if nil means to display BUFFER. CONTEXT if non-nil should be a function that returns extra info that should be printed along with the arguments in the trace. (fn FUNCTION BUFFER BACKGROUND CONTEXT) (defalias 'trace-make-advice #[1028 "\300\301%\207" [make-closure #[385 "\fT\306\301!\307\303 \204@ rq\210\310\311!\210\312 \302\204) \313!\210db\210\f\314U\2036 c\210\315\300\f$c\210)\307C\316\317\300\302\303%\216\211\320\"C\240\210)\211\242@\262+\207" [V0 V1 V2 V3 trace-level deactivate-mark get-buffer-create nil make-local-variable window-point-insertion-type t trace--display-buffer 1 trace-entry-message make-closure #[0 "\f?\205, \302 r q\210\301\204 \306 !\210db\210\307\300 \303\242\203% \303\242@\202&