How to analysis UWP crash log?

MangoApps 91 Reputation points
2019-12-05T10:59:31.04+00:00

My Application is Crash for some UI issue and it shows error - "parameter incorrect"
After Crash is want to open some file..
I want to understand how can I get valid crash log in detail and what is the best way to analysis log

Universal Windows Platform (UWP)
{count} votes

2 answers

Sort by: Most helpful
  1. Azat Tazayan 6 Reputation points
    2019-12-05T16:04:28.903+00:00

    Hi,

    If you do not have any logger in app you can check windows event viewer -> Windows Logs -> Applications and find you app log by package name. I'm recommending to integrate your app with Visual Studio App Center.

    1 person found this answer helpful.
    0 comments No comments

  2. MangoApps 91 Reputation points
    2019-12-06T06:11:11.697+00:00

    I integrate App Center

    SharedLibrary.dll
    System::Runtime::ExceptionServices::ExceptionDispatchInfo Throw() ExceptionDispatchInfo.cs:63
    SharedLibrary.dll
    System::Runtime::CompilerServices::TaskAwaiter ThrowForNonSuccess() TaskAwaiter.cs:186
    SharedLibrary.dll
    System::Runtime::CompilerServices::TaskAwaiter HandleNonSuccessAndDebuggerNotification() TaskAwaiter.cs:154
    SharedLibrary.dll
    System::Runtime::CompilerServices::TaskAwaiter ValidateEnd() TaskAwaiter.cs:125
    System.Runtime.WindowsRuntime.dll
    System::IO::WindowsRuntimeStorageExtensions::_OpenStreamForWriteAsyncCore_d__3 MoveNext() +0x00000000000000D0
    SharedLibrary.dll
    System::Runtime::ExceptionServices::ExceptionDispatchInfo Throw() ExceptionDispatchInfo.cs:63
    System.Runtime.WindowsRuntime.dll
    System::IO::WindowsRuntimeStorageExtensions::_OpenStreamForWriteAsyncCore_d__3 MoveNext$catch$0() +0x0000000000000012
    SharedLibrary.dll
    System::Runtime::ExceptionServices::ExceptionDispatchInfo Throw() ExceptionDispatchInfo.cs:63
    SharedLibrary.dll
    System::Runtime::CompilerServices::TaskAwaiter ThrowForNonSuccess() TaskAwaiter.cs:186
    SharedLibrary.dll
    System::Runtime::CompilerServices::TaskAwaiter HandleNonSuccessAndDebuggerNotification() TaskAwaiter.cs:154
    SharedLibrary.dll
    System::Runtime::CompilerServices::TaskAwaiter ValidateEnd() TaskAwaiter.cs:125
    MetroLog.dll
    MetroLog::FileTarget::_GetWritableStreamForFile_d__8 MoveNext() FileTarget.cs:109
    SharedLibrary.dll
    System::Runtime::ExceptionServices::ExceptionDispatchInfo Throw() ExceptionDispatchInfo.cs:63
    SharedLibrary.dll
    System::Runtime::CompilerServices::TaskAwaiter ThrowForNonSuccess() TaskAwaiter.cs:186
    SharedLibrary.dll
    System::Runtime::CompilerServices::TaskAwaiter HandleNonSuccessAndDebuggerNotification() TaskAwaiter.cs:154
    SharedLibrary.dll
    System::Runtime::CompilerServices::TaskAwaiter ValidateEnd() TaskAwaiter.cs:125
    MetroLog.dll
    MetroLog::Targets::FileTargetBase::_GetOrCreateStreamWriterForFile_d__28 MoveNext() FileTargetBase.cs:142
    SharedLibrary.dll
    System::Runtime::ExceptionServices::ExceptionDispatchInfo Throw() ExceptionDispatchInfo.cs:63
    SharedLibrary.dll
    System::Runtime::CompilerServices::TaskAwaiter ThrowForNonSuccess() TaskAwaiter.cs:186
    SharedLibrary.dll
    System::Runtime::CompilerServices::TaskAwaiter HandleNonSuccessAndDebuggerNotification() TaskAwaiter.cs:154
    SharedLibrary.dll
    System::Runtime::CompilerServices::TaskAwaiter ValidateEnd() TaskAwaiter.cs:125
    MetroLog.dll
    MetroLog::Targets::FileTargetBase::_WriteAsyncCore_d__26 MoveNext() +0x0000000000000363
    SharedLibrary.dll
    System::Runtime::ExceptionServices::ExceptionDispatchInfo Throw() ExceptionDispatchInfo.cs:63
    SharedLibrary.dll
    System::Runtime::CompilerServices::TaskAwaiter ThrowForNonSuccess() TaskAwaiter.cs:186
    SharedLibrary.dll
    System::Runtime::CompilerServices::TaskAwaiter HandleNonSuccessAndDebuggerNotification() TaskAwaiter.cs:154
    SharedLibrary.dll
    System::Runtime::CompilerServices::TaskAwaiter ValidateEnd() TaskAwaiter.cs:125
    MangoAppsUWP.dll
    System::Runtime::CompilerServices::TaskAwaiter$1_$9_MetroLog::LogWriteOperation_ GetResult() +0x0000000000000010
    MetroLog.dll
    MetroLog::Targets::Target::_WriteAsync_d__5 MoveNext() Target.cs:21
    SharedLibrary.dll
    System::Runtime::ExceptionServices::ExceptionDispatchInfo Throw() ExceptionDispatchInfo.cs:63
    SharedLibrary.dll
    System::Runtime::CompilerServices::TaskAwaiter ThrowForNonSuccess() TaskAwaiter.cs:186
    SharedLibrary.dll
    System::Runtime::CompilerServices::TaskAwaiter HandleNonSuccessAndDebuggerNotification() TaskAwaiter.cs:154
    SharedLibrary.dll
    System::Runtime::CompilerServices::TaskAwaiter ValidateEnd() TaskAwaiter.cs:125
    MetroLog.dll
    MetroLog::GlobalCrashHandler::_App_UnhandledException_d__1 MoveNext() GlobalCrashHandler.cs:27
    SharedLibrary.dll
    System::Runtime::ExceptionServices::ExceptionDispatchInfo Throw() ExceptionDispatchInfo.cs:63
    SharedLibrary.dll
    System::Runtime::CompilerServices::AsyncMethodBuilderCore::__c _ThrowAsync_b__7_0() AsyncMethodBuilder.cs:931
    SharedLibrary.dll
    System::Threading::ParameterizedThreadStart Invoke() Invoke:16707566
    SharedLibrary.dll
    System::Threading::WinRTSynchronizationContext::Invoker InvokeCore() SynchronizationContext.WinRT.cs:81

    Dnt understands anything in this log..

    I want a way to understand the log

    0 comments No comments