debug view load pattern