Hmmm, we don't support #ifdefs when parsing PROPERTies. How about you mark this as not #ifdef DEBUG but enclose the contents of the function as #ifdef DEBUG instead?