debugger: Implemented function handling in Acorn interpreter