[asterisk-dev] debug and STACK variables

Tilghman Lesher tilghman at mail.jeffandtilghman.com
Sat Mar 3 07:12:15 MST 2007


On Saturday 03 March 2007, Julian Lyndon-Smith wrote:
> If I have debug on, then the STACK- variables that are created fill up
> my channel variable space (I get a ERROR[955]: pbx.c:5708
> pbx_builtin_serialize_variables: Data Buffer Size Exceeded!) message.
>
> Is there any way of having debug on without have the stack variables
> created ? I looked at the code and can't find any such option, but was
> hoping that someone would know a trick ;)

No, there's no such trick.

> Otherwise I'll submit a patch that allows for this.

The correct thing to do would probably be to migrate stack variables to
the new ast_storage structures, such that the stack is not stored in channel
variable space.

-- 
Tilghman


More information about the asterisk-dev mailing list