Avoid useless variable lookup when non debugging