path finding, debug compile macro