Restore two debugger related functions