IntelliTrace가 코드를 보여주지 않는 이유는 무엇입니까?
-
17-09-2020 - |
문제
IntelliTrace를 사용하여 Azure Sever에서 응용 프로그램을 디버깅하고 있습니다. 때로는 예외를 유래 한 코드를 볼 수 있지만 때로는 할 수 없습니다. 그리고 내가 볼 수없는 각 코드가 항상 동일한 예외는 항상 동일합니다.
예외를 두 번 클릭하여 디버깅을 시작하려면 예외를 두 번 클릭하면 새 탭에서 동일한 메시지를 유지하는 이유가 있습니까?
나는 그것을 해결하기 위해 내가해야 할 일이 무엇인지 알고 있지만, 코드를 어디에서 찾을 위치를 알아야합니다! 도움말.
예제
@slaks
예외의 예는 다음과 같습니다.
"The condition specified using HTTP conditional header(s) is not met."
.
콜 스택 :
[External Code]
System.dll!System.Net.LazyAsyncResult.Complete(System.IntPtr userToken = {unknown})
[External Code]
System.dll!System.Net.ContextAwareResult.Complete(System.IntPtr userToken = {unknown})
System.dll!System.Net.HttpWebRequest.ProcessResponse()
System.dll!System.Net.HttpWebRequest.SetResponse(System.Net.CoreResponseData coreResponseData = {unknown})
System.dll!System.Net.ConnectionReturnResult.SetResponses(System.Net.ConnectionReturnResult returnResult = {unknown})
System.dll!System.Net.Connection.ReadComplete(int bytesRead = {unknown}, System.Net.WebExceptionStatus errorStatus = {unknown})
System.dll!System.Net.Connection.ReadCallback(System.IAsyncResult asyncResult = {unknown})
System.dll!System.Net.LazyAsyncResult.Complete(System.IntPtr userToken = {unknown})
System.dll!System.Net.Security._SslStream.ProcessFrameBody(int readBytes = {unknown}, byte[] buffer = {unknown}, int offset = {unknown}, int count = {unknown}, System.Net.AsyncProtocolRequest asyncRequest = {unknown})
System.dll!System.Net.Security._SslStream.ReadFrameCallback(System.Net.AsyncProtocolRequest asyncRequest = {unknown})
System.dll!System.Net.FixedSizeReader.CheckCompletionBeforeNextRead(int bytes = {unknown})
System.dll!System.Net.FixedSizeReader.ReadCallback(System.IAsyncResult transportResult = {unknown})
System.dll!System.Net.LazyAsyncResult.Complete(System.IntPtr userToken = {unknown})
[External Code]
System.dll!System.Net.ContextAwareResult.Complete(System.IntPtr userToken = {unknown})
System.dll!System.Net.Sockets.BaseOverlappedAsyncResult.CompletionPortCallback(uint errorCode = {unknown}, uint numBytes = {unknown}, System.Threading.NativeOverlapped* nativeOverlapped = {unknown})
[External Code]
.
편집 :
예외는 실제로 나에게 야기됩니다. 다음은 예제입니다.
AzureBrightWebRole.dll!AzureBright.Common.EasyPay.EasyPay.CheckFinishedPayments()
AzureBrightWorkerRole.dll!AzureBrightWorkerRole.WorkerRole.Run()
Microsoft.WindowsAzure.ServiceRuntime.dll!Microsoft.WindowsAzure.ServiceRuntime.RoleEnvironment.StartRoleInternal()
Microsoft.WindowsAzure.ServiceRuntime.dll!Microsoft.WindowsAzure.ServiceRuntime.RoleEnvironment.StartRole()
Microsoft.WindowsAzure.ServiceRuntime.dll!Microsoft.WindowsAzure.ServiceRuntime.Implementation.Loader.RoleRuntimeBridge.AnonymousMethod()
[External Code]
.
Web Service가 작동 중지 된 것으로 보이는 것으로 보이고있었습니다. 결국, 나는 그것을 발견했다, 그것은 그것과 아무 관련이 없었다! 나는 오류를 현지 적으로 재현하고, 그것은 내 코드에서 바로 일어나고 있었다. 왜 오류가 발생한 코드와 조건에서 코드를 볼 수 없습니까? 내가 확신 할 수는 없지만, 나는 코드가 변경되었고 오늘이 완료되었음을 기억하지 않습니다.
해결책
IntelliTrace는 표시 할 코드가있을 때만 소스 코드를 표시합니다.
게시 한 스택 추적의 모든 코드는 .NET Framework 내부에 있으므로 표시 할 소스 코드가 없습니다.
제휴하지 않습니다 StackOverflow