Fix segfault if compiled without optimization and dbg() does not get
compiled out and uses variables which are not available.
Fix segfault if compiled without optimization and dbg() does not get
compiled out and uses variables which are not available.