[OpenSIPS-Devel] [opensips] New assert script keyword for script debugging (#313)
David Sanders
notifications at github.com
Tue Aug 26 11:36:23 CEST 2014
Allows for assertions which can be enabled or disabled for easier script debugging.
Usage:
````
assert($var(foo) == 42, "Whoops, var(foo) wasn't equal to 42");
````
You can merge this Pull Request by running:
git pull https://github.com/dsanders11/opensips master
Or you can view, comment on it, or merge it online at:
https://github.com/OpenSIPS/opensips/pull/313
-- Commit Summary --
* New assert script keyword for script debugging
-- File Changes --
M action.c (25)
M cfg.lex (6)
M cfg.y (8)
M errinfo.h (1)
M globals.h (3)
M main.c (4)
M route_struct.c (3)
M route_struct.h (2)
-- Patch Links --
https://github.com/OpenSIPS/opensips/pull/313.patch
https://github.com/OpenSIPS/opensips/pull/313.diff
---
Reply to this email directly or view it on GitHub:
https://github.com/OpenSIPS/opensips/pull/313
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/devel/attachments/20140826/06fb9360/attachment.htm>
More information about the Devel
mailing list