support gui_trace_mode