StackTrack for debug

System.Diagnostics.Debug.WriteLine("Serial port. {0},{1}", this.GetType().FullName, new System.Diagnostics.StackTrace(true));

原文地址:https://www.cnblogs.com/fdyang/p/3529514.html