THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.

A new Flyspray task has been opened.  Details are below. 

User who did this - VĂ­ctor Seva (linuxmaniac) 

Attached to Project - sip-router
Summary - modules/debugger: be able to log assign actions
Task Type - Feature Request
Category - Module
Status - Unconfirmed
Assigned To - 
Operating System - All
Severity - Low
Priority - Normal
Reported Version - Development
Due in Version - Undecided
Due Date - Undecided
Details - Implementing the idea:
"From what Andreas suggesting, printing the value of variables as they 
are assigned is missing, probably can be added by hooking in the 
interpreter when doing the assignment operation." [0]

[0] http://lists.sip-router.org/pipermail/sr-users/2013-April/077628.html


I had to change some things on core to be able to get this working:
 - lvalue.[c/h]: from pv_spec_t to pv_spec_t* ( in order to be able to search 
for the name of a var with the pointer)
 - cfg.y: use pv_cache_get() to get the pv_spec_t*
 - lvalue.[c/h]: add callback to log_assign
 - pvapi.c|pvar.h: add helper function pv_cache_get_name(pv_spec_t*) to get the 
name of a pvar on cache

Please, review if these changes are the right thing to do in this case.

On module debugger there is a cache of logged vars in order to not call 
pv_cache_get_name() over a over again.

One or more files have been attached.

More information can be found at the following URL:
http://sip-router.org/tracker/index.php?do=details&task_id=299

You are receiving this message because you have requested it from the Flyspray 
bugtracking system.  If you did not expect this message or don't want to 
receive mails in future, you can change your notification settings at the URL 
shown above.

_______________________________________________
sr-dev mailing list
[email protected]
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev

Reply via email to