xdebugger: some usages of impl methods replace by API calls