[asterisk-dev] debug and STACK variables

Tilghman Lesher tilghman at mail.jeffandtilghman.com
Sat Mar 3 09:47:28 MST 2007


On Saturday 03 March 2007, Tilghman Lesher wrote:
> 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.

Okay, I went ahead and wrote this modification.  Revision 57736 in trunk.

-- 
Tilghman


More information about the asterisk-dev mailing list