如何从日志中破译 StackTrace?

问题描述

我正在查看 Kusto 日志

  at Microsoft.Identity.Core.OAuth2.OAuthClient.<GetResponseAsync>d__18`1.MoveNext()
  --- End of stack trace from prevIoUs location where exception was thrown ---
  at System.Runtime.ExceptionServices.ExceptiondispatchInfo.Throw()
  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  at Microsoft.Identity.Core.OAuth2.OAuthClient.<GetResponseAsync>d__17`1.MoveNext()
  --- End of stack trace from prevIoUs location where exception was thrown ---
  at System.Runtime.ExceptionServices.ExceptiondispatchInfo.Throw()
  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  at Microsoft.IdentityModel.Clients.ActiveDirectory.Internal.Flows.AcquiretokenHandlerBase.<SendHttpMessageAsync>d__75.MoveNext()
  --- End of stack trace from prevIoUs location where exception was thrown ---
  at System.Runtime.ExceptionServices.ExceptiondispatchInfo.Throw()
  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  at Microsoft.IdentityModel.Clients.ActiveDirectory.Internal.Flows.AcquiretokenHandlerBase.<SendTokenRequestAsync>d__72.MoveNext()
  --- End of stack trace from prevIoUs location where exception was thrown ---
  at System.Runtime.ExceptionServices.ExceptiondispatchInfo.Throw()
  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  at Microsoft.IdentityModel.Clients.ActiveDirectory.Internal.Flows.AcquiretokenHandlerBase.<CheckAndAcquiretokenUsingbrokerAsync>d__62.MoveNext()
  --- End of stack trace from prevIoUs location where exception was thrown ---
  at System.Runtime.ExceptionServices.ExceptiondispatchInfo.Throw()
  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  at Microsoft.IdentityModel.Clients.ActiveDirectory.Internal.Flows.AcquiretokenHandlerBase.<RunAsync>d__60.MoveNext()
  --- End of stack trace from prevIoUs location where exception was thrown ---
  at System.Runtime.ExceptionServices.ExceptiondispatchInfo.Throw()
  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  at Microsoft.IdentityModel.Clients.ActiveDirectory.AuthenticationContext.<AcquiretokenForClientCommonAsync>d__37.MoveNext()
  --- End of stack trace from prevIoUs location where exception was thrown ---
  at System.Runtime.ExceptionServices.ExceptiondispatchInfo.Throw()
  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  at Microsoft.IdentityModel.Clients.ActiveDirectory.AuthenticationContext.<AcquiretokenAsync>d__61.MoveNext()
  --- End of stack trace from prevIoUs location where exception was thrown ---
  at System.Runtime.ExceptionServices.ExceptiondispatchInfo.Throw()
  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  at Avalanche.Common.keyvault.keyvaultSecretRepository.<GetTokenByThumbprint>d__31.MoveNext()
  --- End of stack trace from prevIoUs location where exception was thrown ---
  at System.Runtime.ExceptionServices.ExceptiondispatchInfo.Throw()
  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1.ConfiguredTaskAwaiter.GetResult()
  at Microsoft.Azure.keyvault.keyvaultCredential.<PreAuthenticate>d__10.MoveNext()
  --- End of stack trace from prevIoUs location where exception was thrown ---

我可以获得哪些信息?上一个位置的堆栈跟踪结束是什么意思?

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)