null-ref when parsing debug condition