this:RegisterForDrag("LeftButton"); EventTraceFrame.moving = true; EventTraceFrame:StartMoving(); EventTraceFrame.moving = nil; EventTraceFrame:StopMovingOrSizing(); this:SetFrameLevel(this:GetFrameLevel() + 1); this:SetMinMaxValues(0, 1); this:SetValue(0); this:SetValueStep(1); EventTraceFrame_Update(); EventTraceFrame_OnLoad(this); EventTraceFrame_OnEvent(this, event, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9); EventTraceFrame_OnUpdate(this, arg1); this:RegisterForDrag("LeftButton"); ScriptErrorsFrame_TitleButton_OnDragStart(); ScriptErrorsFrame_TitleButton_OnDragStop(); this:ClearFocus(); this:HighlightText(0); ScriptErrorsFrame_OnLoad(this); ScriptErrorsFrame_OnShow(this);