 
 
 (defun rdebug-turn-on-debugger-support ()
-  "Activate debugger support in source buffer.
-
-This adds a menu and binds keys to debugger commands.
-
-Typically, this is added to the major mode hook, for example:
-
-  (add-hook 'ruby-mode-hook 'rdebug-turn-on-debugger-support)"
+  "Enable extra source buffer support for the `rdebug' Ruby debugger.
+
+This includes a 'Debugger' menu and special key bindings when the
+debugger is active."
   (rdebug-debugger-support-minor-mode 1))
 
 

  "Regular expression used to find a file location given by rdebug.

Program-location lines look like this:
   /tmp/gcd.py:29:  gcd
   /tmp/gcd.py:29
   \\sources\\capfilterscanner\\capanalyzer.py:3:  <module>
")

(defconst rdebug-marker-regexp-file-group 2


;;;###autoload
(defun rdebug (command-line)
  "Run the rdebug Ruby debugger and start the Emacs user interface.

By default, the user interface looks like the following:

+----------------------------------------------------------------------+
|                                Toolbar                               |
+-----------------------------------+----------------------------------+
| Debugger shell                    | Variables buffer                 |
|                                   | RET rdebug-variables-edit        |
|                                   |                                  |
|                                   |                                  |
+-----------------------------------+----------------------------------+
|                                   |                                  |
| Source buffer                     | Output buffer                    |
|                                   |                                  |
+-----------------------------------+----------------------------------+
| Stack buffer                      | Breakpoints buffer               |
| RET rdebug-goto-stack-frame       | t    rdebug-toggle-breakpoint    |
|                                   | RET  rdebug-goto-breakpoint      |
|                                   | DEL  rdebug-delete-breakpoint    |
+-----------------------------------+----------------------------------+

The variable `rdebug-many-windows-layout-function' can be
customized so that another layout is used. In addition to a
number of predefined layouts it's possible to define a function
to perform a custom layout.

If `rdebug-many-windows' is nil, only a traditional debugger
shell and source window is opened.

The directory containing the debugged script becomes the initial
working directory and source-file directory for your debugger.

The custom variable `gud-rdebug-command-name' sets the command
and options used to invoke rdebug."
  (interactive
   (list (gud-query-cmdline 'rdebug)))

