change DEBUG compilerswitch to new trace makro