diff options
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/misc/tramp.texi | 18 |
1 files changed, 3 insertions, 15 deletions
diff --git a/doc/misc/tramp.texi b/doc/misc/tramp.texi index ebfc14d9368..47beb90e6c6 100644 --- a/doc/misc/tramp.texi +++ b/doc/misc/tramp.texi | |||
| @@ -5336,6 +5336,7 @@ The verbosity levels are | |||
| 5336 | @*@indent @w{ 8} connection properties | 5336 | @*@indent @w{ 8} connection properties |
| 5337 | @*@indent @w{ 9} test commands | 5337 | @*@indent @w{ 9} test commands |
| 5338 | @*@indent @w{10} traces (huge) | 5338 | @*@indent @w{10} traces (huge) |
| 5339 | @*@indent @w{11} call traces (maintainer only) | ||
| 5339 | 5340 | ||
| 5340 | With @code{tramp-verbose} greater than or equal to 4, messages are | 5341 | With @code{tramp-verbose} greater than or equal to 4, messages are |
| 5341 | also written to a @value{tramp} debug buffer. Such debug buffers are | 5342 | also written to a @value{tramp} debug buffer. Such debug buffers are |
| @@ -5384,21 +5385,8 @@ The debug buffer is written as a file in your | |||
| 5384 | this option with care, because it could decrease the performance of | 5385 | this option with care, because it could decrease the performance of |
| 5385 | @value{tramp} actions. | 5386 | @value{tramp} actions. |
| 5386 | 5387 | ||
| 5387 | To enable stepping through @value{tramp} function call traces, they | 5388 | If @code{tramp-verbose} is greater than or equal to 11, @value{tramp} |
| 5388 | have to be specifically enabled as shown in this code: | 5389 | function call traces are written to the buffer @file{*trace-output*}. |
| 5389 | |||
| 5390 | @lisp | ||
| 5391 | @group | ||
| 5392 | (require 'trace) | ||
| 5393 | (dolist (elt (all-completions "tramp-" obarray 'functionp)) | ||
| 5394 | (trace-function-background (intern elt))) | ||
| 5395 | (untrace-function 'tramp-read-passwd) | ||
| 5396 | @end group | ||
| 5397 | @end lisp | ||
| 5398 | |||
| 5399 | The buffer @file{*trace-output*} contains the output from the function | ||
| 5400 | call traces. Disable @code{tramp-read-passwd} to stop password | ||
| 5401 | strings from being written to @file{*trace-output*}. | ||
| 5402 | 5390 | ||
| 5403 | 5391 | ||
| 5404 | @node GNU Free Documentation License | 5392 | @node GNU Free Documentation License |