static public void DebugOut(string msg) { StackTrace st = new StackTrace(false); string caller = st.GetFrame(1).GetMethod().Name; Debug.WriteLine(caller + ": " + msg); }
.NET
C Sharp
Debug
Helper
Retrieved from http://hyacinth.byus.net/moniwiki/wiki.php/C_Sharp/DebugView 사용
last modified 2015-02-12 15:28:42