登录C#时,如何学习调用当前方法的方法的名称?我知道所有这些System.Reflection.MethodBase.GetCurrentMethod(),但我想在堆栈跟踪中向下迈出一步.我考虑过解析堆栈跟踪,但我希望找到一种更清晰,更明确的方法,比如Assembly.GetCallingAssembly()方法.
System.Reflection.MethodBase.GetCurrentMethod()
Assembly.GetCallingAssembly()
.net c# logging system.diagnostics stack-trace
您是否有任何可用的工具来简化理解C/C++代码的任务?我们刚刚继承了其他人编写的大量软件,我们需要快速掌握它.有关可能简化此任务的工具的任何建议吗?
c c++ code-analysis
.net ×1
c ×1
c# ×1
c++ ×1
code-analysis ×1
logging ×1
stack-trace ×1
system.diagnostics ×1