Using Switches to Control Debug and Trace:User-Defined Switch