Trace window and improve locating resource