New function console:dump: prints all variables in the local variable stack, which are visible at the point the statement appears in the code.
Update version.