Maybe an DSO can help here. Do you have access to such an instrument?

By the way as Henrik noted, I liked the conditional compilation too. Great example!

Ioannis