private void onError(string message) { #if DEBUG var callerFrame = new StackFrame(1); var caller = callerFrame.GetMethod(); Console.WriteLine("HTTPSV: Error@{0}: {1}", caller.Name, message); #endif Ext.Emit(OnError, this, new ErrorEventArgs(message)); }