Sometimes the CCS editor greys out lines of code that really are active. I'm sorry I can't be more precise. Here is one example I know about.
As for debugging macros, or preprocessing in general, considering building with --gen_acp_raw and inspecting the resulting .rl file. Details are in the section titled Generating a Raw Listing File in the compiler user's guide. You don't say which target you are using, so this link shows you all the compiler manuals.
Thanks and regards,
-George