if dword .TraceMode = #Tracing_On {
Change this so dword is figured out by X# because of type declaration of TraceMode