debug view base class