Revision: 9603
          http://opensips.svn.sourceforge.net/opensips/?rev=9603&view=rev
Author:   liviuchircu
Date:     2013-01-21 12:42:36 +0000 (Mon, 21 Jan 2013)
Log Message:
-----------
New functionality: Script tracing!
With script tracing, you can better understand the flow of execution in the 
OpenSIPS script.
Moreover, you can also trace the values of pseudo-variables, as script 
execution progresses.

The blocks of the script where script tracing is enabled will print a line for 
each individual
action that is done (e.g. assignments, conditional tests, module functions, 
core functions, etc.).
Multiple pseudo-variables can be monitored by specifying a pv_format string
(e.g. "$ru---$avp(var1)"). The current value of the format will be printed 
along with each line.

The logs of multiple traced regions of your script can be differentiated by 
specifying an
additional plain string as the 3rd parameter.

Script tracing can be enabled with: script_trace(log_level, pv_format_string[, 
info_string])
To disable script tracing, just: script_trace()

Modified Paths:
--------------
    trunk/action.c
    trunk/cfg.lex
    trunk/cfg.y
    trunk/route_struct.h

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.


_______________________________________________
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel

Reply via email to