[Ruby-debug-commits] [819] trunk/doc: rdebug-emacs.texi: update nodes so makeinfo will work.
nobody at rubyforge.org
nobody at rubyforge.org
Sun Apr 20 17:38:30 EDT 2008
Revision: 819
Author: rockyb
Date: 2008-04-20 17:38:29 -0400 (Sun, 20 Apr 2008)
Log Message:
-----------
rdebug-emacs.texi: update nodes so makeinfo will work.
rdebug-texi: Note slight preference for ruby -rtracer over rdebug --trace.
Modified Paths:
--------------
trunk/doc/rdebug-emacs.texi
trunk/doc/ruby-debug.texi
Modified: trunk/doc/rdebug-emacs.texi
===================================================================
--- trunk/doc/rdebug-emacs.texi 2008-04-19 13:22:12 UTC (rev 818)
+++ trunk/doc/rdebug-emacs.texi 2008-04-20 21:38:29 UTC (rev 819)
@@ -184,7 +184,7 @@
@code{M-x turn-off-rdebugtrack} command.
- at node Configurating this package, , Emacs rdebug, Getting started
+ at node Configurating this package, , Emacs shell tracking mode, Getting started
@section Configurating this package
In this manual we present a number of @value{Emacs} lisp variables and
Modified: trunk/doc/ruby-debug.texi
===================================================================
--- trunk/doc/ruby-debug.texi 2008-04-19 13:22:12 UTC (rev 818)
+++ trunk/doc/ruby-debug.texi 2008-04-20 21:38:29 UTC (rev 819)
@@ -1330,8 +1330,31 @@
@item -x | --trace
@cindex @code{-x}
@cindex @code{--trace}
-Turn on line tracing.
+Turn on line tracing. Running:
+ at smallexample
+ rdebug --trace @emph{rubyscript.rb}
+ at end smallexample
+is much line running:
+ at smallexample
+ ruby -rtracer @emph{rubyscript.rb}
+ at end smallexample
+If all you want to do however is get a linetrace, @code{tracer}, not
+ at code{rdebug}, may be faster:
+ at smallexample
+$ @b{time ruby -rtracer gcd.rb 34 21 > /dev/null}
+
+real 0m0.266s
+user 0m0.008s
+sys 0m0.000s
+$ @b{time rdebug --trace gcd.rb 34 21 > /dev/null}
+
+real 0m0.875s
+user 0m0.448s
+sys 0m0.056s
+$
+ at end smallexample
+
@end table
@node rdebug default options
More information about the Ruby-debug-commits
mailing list