Azure 为什么';IntelliTrace是否显示代码?

Azure 为什么';IntelliTrace是否显示代码?,azure,intellitrace,Azure,Intellitrace,我正在使用IntelliTrace调试Azure服务器中的应用程序。有时我可以看到引发异常的代码,但有时我看不到。我看不到的各个代码的异常总是相同的 当我双击异常以开始调试它时,是否有任何原因使我在“新建”选项卡中不断收到相同的消息(没有可用的源) 我已经知道我需要做什么异常来解决它,但我还需要知道在哪里可以找到代码!救命啊 例子 @渣 我得到的例外情况的一个例子是: "The condition specified using HTTP conditional header(s) is not

我正在使用IntelliTrace调试Azure服务器中的应用程序。有时我可以看到引发异常的代码,但有时我看不到。我看不到的各个代码的异常总是相同的

当我双击异常以开始调试它时,是否有任何原因使我在“新建”选项卡中不断收到相同的消息(没有可用的源)

我已经知道我需要做什么异常来解决它,但我还需要知道在哪里可以找到代码!救命啊

例子 @渣

我得到的例外情况的一个例子是:

"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服务似乎已停止工作。最后,我发现,这与它无关!我在本地复制了错误,它就发生在我的代码中。为什么我看不到发生错误的代码以及错误发生的条件?虽然我不能确定,但我不记得代码已经更改,并且是今天完成的。

IntelliTrace仅在有代码要显示时才会显示源代码

您发布的堆栈跟踪中的所有代码都在.Net framework中,因此没有任何源代码可供显示

您可能可以从中获取源代码


这个异常和许多类似的异常都是ASP.Net内部的,应该忽略。

这让我觉得更舒服。但是为什么会发生这些错误?@Fabio:这些错误发生在客户端行为不当、可选配置文件丢失以及其他一些情况下。很抱歉,我的怀疑是正确的(尽管我在这里介绍的第一个情况中可能是错的)。在我刚才介绍的第二个例子中,异常发生在我无法控制的代码中,但它们是由我引起的!请在“编辑”部分中阅读更多关于此的信息。