nit/dbg: Modified api for the introspection and modification of variables

Signed-off-by: Lucas Bajolet <r4pass@hotmail.com>