#keywords C Sharp, .NET, Debug, Helper {{{#!gcode static public void DebugOut(string msg) { StackTrace st = new StackTrace(false); string caller = st.GetFrame(1).GetMethod().Name; Debug.WriteLine(caller + ": " + msg); } }}} ---- {{{ }}}