This commit is contained in:
2020-06-04 19:34:32 +00:00
parent d670c68b5f
commit e10e091fec
2 changed files with 5 additions and 4 deletions

View File

@@ -739,3 +739,8 @@ https://docs.microsoft.com/en-us/dotnet/core/diagnostics/dotnet-trace
Might be doing GC Counts incorrectly, they don't sync up with the dotnet-counters tool which shows them drop back to zero regularly when I stop burn test
https://michaelscodingspot.com/ways-to-cause-memory-leaks-in-dotnet/
https://bennettadelson.wordpress.com/2013/04/11/using-perfview-to-diagnose-a-net-memory-leak-2/
HOW TO SEE WHO CALLED A METHOD DURING RUNTIME
keywords: caller, call method stack trace stacktrace
//System.Diagnostics.Debug.WriteLine((new System.Diagnostics.StackTrace()).GetFrame(1).GetMethod().Name);
//System.Diagnostics.Debug.WriteLine((new System.Diagnostics.StackTrace()).ToString().Substring(56,80));

View File

@@ -28,10 +28,6 @@ namespace AyaNova.Util
{
get
{
// System.Diagnostics.Debug.WriteLine((new System.Diagnostics.StackTrace()).GetFrame(1).GetMethod().Name);
// System.Diagnostics.Debug.WriteLine((new System.Diagnostics.StackTrace()).ToString().Substring(56,80));
return Scope.ServiceProvider.GetRequiredService<AyContext>();
}
}