I had a problem when I cannot use the diagnostic tool during remote debugging. If I run my program on my local machine, everything is fine.
After making sure that my domain user has debugging permission on the target computer (configured in the remote debugging tool), I connected my Visual Studio to the running process on the remote machine. Then I switched to the diagnostic window only for greeting with an error message
.
After searching the Internet, I found a way to get verbose output and got the following:
Debug
Debug
Debug
Debug
Debug
Debug
Debug
Debug
Debug
Debug
Debug
Debug
Debug
Debug
Debug
Debug
Debug
Debug
Debug
Debug
Debug
Debug
Debug
Debug
Debug
Debug
Debug
Debug
Debug
Debug
Debug
Debug
Debug
Debug
Debug
Debug
Debug
Debug
Das System kann die angegebene Datei nicht finden. (Ausnahme von HRESULT: 0x80070002)
Debug
Debug
Debug
Error
Stacktrace:
System.Exception: Error code: 0x80070002
bei System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
bei System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
bei Microsoft.DiagnosticsHub.VisualStudio.Collectors.CollectorService.StandardClientCollector.<CleanUpCollectionSession>d__29.MoveNext()
--- Ende der Stapelüberwachung vom vorhergehenden Ort, an dem die Ausnahme ausgelöst wurde ---
bei System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
bei System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
bei Microsoft.DiagnosticsHub.VisualStudio.Collectors.CollectorService.StandardClientCollector.<Failed>d__17.MoveNext()
--- Ende der Stapelüberwachung vom vorhergehenden Ort, an dem die Ausnahme ausgelöst wurde ---
bei System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
bei System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
bei Microsoft.DiagnosticsHub.VisualStudio.Runtime.PerformanceDebuggerSession.<TerminateCollectionAsync>d__38.MoveNext()
Debug --- Document ('C:\Users\steffen\AppData\Local\Temp\Bericht20150909-1642.diagsession') --- Changing document state from 'ActiveSession' to Failed.
Debug --- SessionsService --- Closing session for document C:\Users\steffen\AppData\Local\Temp\Bericht20150909-1642.diagsession
Debug --- SessionsService --- Session for document C:\Users\steffen\AppData\Local\Temp\Bericht20150909-1642.diagsession was closed
, (Das System kann die angegebene Datei nicht finden. (Ausnahme von HRESULT: 0x80070002)), , .
SO . , , this, , output/diaghub .
, 4 , .
- - .cs . , buildserver. , , ,
Applicationinsights.config - .csproj , , " " . Azure.Microsoft.CodeAnalysis.CSharp.ExpressionEvaluator.ExpressionCompiler.dll - Common7\IDE\CommonExtensions\Microsoft\Roslyn\ExpressionEvaluators, " " . ., : C:\Windows\SysWOW64\api-ms-win-core-fibers-l1-1-1.DLL. [...] fiber-l1-2-1.dll, [...] fiber-l1-1-1.dll. 3- 4-- 1-, 3- 4- ( , ): MSCORDBI_MACX86
C:\Users\steffen\AppData\Local\Microsoft\SilverlightDebuggingConfig1.0\mscordbi_macx86.dll