bebug view class constructor