'Display arguments passed to a function when stopped at a call instruction
Usage:
MYNAME [count]
count: force to display "count args" instead of guessing'

def dumpargs(self, *arg):

    (count,) = normalize_argv(arg, 1)
    if (not self._is_running()):
        return
    args = peda.get_function_args(count)
    if args:
        msg('Guessed    arguments:')
        for (i, a) in enumerate(args):
            chain = peda.examine_mem_reference(a)
            msg(('arg[%d]:    %s' % (i, format_reference_chain(chain))))
    else:
        msg('No    argument')
    return
