This commit is contained in:
@@ -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
|
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://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/
|
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));
|
||||||
@@ -28,10 +28,6 @@ namespace AyaNova.Util
|
|||||||
{
|
{
|
||||||
get
|
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>();
|
return Scope.ServiceProvider.GetRequiredService<AyContext>();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user