implemented kernel debugger