locked
Debugging using WinDBG RRS feed

  • Question

  • I need to know to the role of .appxsym in debugging my application? Is it required? or it is only used to send crash reporting details to developer(developer's dashboard).

    I was trying to debug the crash with WinDBG through following steps:-

    1)Opening a command prompt at C:\Program Files (x86)\Windows Kits\8.1\Debuggers\x86

    2)Setting _NT_SYMBOL_PATH and _NT_ALT_SYMBOL_PATH as srv*C:\Symcache*http://msdl.microsoft.com/download/symbols

    3)Opening WinDBG through windbg -y and then executing commands !sym noisy and .reload /f

    and then I am getting the following errors

    Windows.ApplicationMod The system cannot find the file specified : srv*c:\symcache*http://msdl.microsoft.com/download/symbols
    The SYMSRV client failed to find a file in the UNC store, or there
    is an invalid UNC store (an invalid path or the pingme.txt file is
    not present in the root directory), or the file is present in the
    symbol server exclusion list.

    Windows.Storage.ni     The system cannot find the file specified : srv*c:\symcache*http://msdl.microsoft.com/download/symbols
    The SYMSRV client failed to find a file in the UNC store, or there
    is an invalid UNC store (an invalid path or the pingme.txt file is
    not present in the root directory), or the file is present in the
    symbol server exclusion list.

    Does appxsym associated with this package can remove these errors or there is something I am missing out?

    Is there a way where I can fetch symbol file from developer dashboard for the package deployed on App Hub?

     

    Wednesday, June 18, 2014 6:27 AM

Answers

  • You can rename the .appxsym file to .zip and extract the symbols. Use the path searched by WinDbg when you have !syn noisy enabled. This should get you started.

    I don't really know what other problems you are having with the symbols server though and the symcache folder.  You may want to run ProcMon to figure this out.


    Matt Small - Microsoft Escalation Engineer - Forum Moderator
    If my reply answers your question, please mark this post as answered.

    NOTE: If I ask for code, please provide something that I can drop directly into a project and run (including XAML), or an actual application project. I'm trying to help a lot of people, so I don't have time to figure out weird snippets with undefined objects and unknown namespaces.

    Wednesday, June 18, 2014 12:44 PM
    Moderator