Fixesd debugger functions and list function

Signed-off-by: Aryane Ast dos Santos <aryaneast@gmail.com>
Cast to Object[] null parameter of invoke

Signed-off-by: Aryane Ast dos Santos <aryaneast@gmail.com>