Function: semantic-debug-break
semantic-debug-break is a byte-compiled function defined in
debug.el.gz.
Signature
(semantic-debug-break FRAME)
Documentation
Stop parsing now at FRAME.
FRAME is an object that represents the parser's view of the
current state of the world.
This function enters a recursive edit. It returns
on an exit-recursive-edit, or if someone uses one
of the semantic-debug-mode commands.
It returns the command specified. Parsers need to take action
on different types of return values.
Source Code
;; Defined in /usr/src/emacs/lisp/cedet/semantic/debug.el.gz
(defun semantic-debug-break (frame)
"Stop parsing now at FRAME.
FRAME is an object that represents the parser's view of the
current state of the world.
This function enters a recursive edit. It returns
on an `exit-recursive-edit', or if someone uses one
of the `semantic-debug-mode' commands.
It returns the command specified. Parsers need to take action
on different types of return values."
(save-window-excursion
;; Set up displaying information
(semantic-debug-mode t)
(unwind-protect
(progn
(semantic-debug-frame-highlight frame)
(semantic-debug-interface-layout semantic-debug-current-interface)
(condition-case nil
;; Enter recursive edit... wait for user command.
(recursive-edit)
(error nil)))
(semantic-debug-unhighlight semantic-debug-current-interface)
(semantic-debug-mode nil))
;; Find the requested user state. Do something.
(let ((returnstate semantic-debug-user-command))
(setq semantic-debug-user-command nil)
returnstate)
))