From 38f6fbca6ad053a1f4918756226c626cdefe63c6 Mon Sep 17 00:00:00 2001 From: Tuncer Ayaz Date: Thu, 25 Aug 2011 18:10:12 +0200 Subject: Fix typos in dbg(3) --- lib/runtime_tools/doc/src/dbg.xml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'lib/runtime_tools/doc/src/dbg.xml') diff --git a/lib/runtime_tools/doc/src/dbg.xml b/lib/runtime_tools/doc/src/dbg.xml index 0e63649c09..4e32bd5c0d 100644 --- a/lib/runtime_tools/doc/src/dbg.xml +++ b/lib/runtime_tools/doc/src/dbg.xml @@ -706,7 +706,7 @@ Error: fun containing local erlang function calls ('is_atomm' called in guard) c value from the last invocation of the fun. The initial value of the second parameter is specified in the InitialData part of the HandlerSpec. The HandlerFun may - chose any appropriate action to take when invoked, and can + choose any appropriate action to take when invoked, and can save a state for the next invocation by returning it.

If Type is a port, then the second parameter should @@ -766,7 +766,7 @@ Error: fun containing local erlang function calls ('is_atomm' called in guard) c

This function creates a trace port generating fun. The fun takes no arguments and returns a newly opened trace port. The return value from this function is suitable as - a second parameter to tracer/2, i. e. dbg:tracer(port, dbg:trace_port(ip, 4711)).

+ a second parameter to tracer/2, i.e. dbg:tracer(port, dbg:trace_port(ip, 4711)).

A trace port is an Erlang port to a dynamically linked in driver that handles trace messages directly, without the overhead of sending them @@ -852,9 +852,9 @@ Error: fun containing local erlang function calls ('is_atomm' called in guard) c

This function is used to do a control operation on the active trace port driver on the given node - (Nodename). Which operations that are allowed as well - as their return values are depending on which trace driver - that is used.

+ (Nodename). Which operations are allowed as well + as their return values depend on which trace driver + is used.

Returns either ok or {ok, Result} if the operation was successful, or {error, Reason} if the current tracer is a process -- cgit v1.2.3