Getting function args from task stack