Wrapper for debugging object calls

  plus few related handy functions