What is the path for crash dumps in HoloLens 2 device?

Dhivya Alagesan 1 Reputation point
2021-08-04T14:37:23.5+00:00

We have been developing a UWP app in Unity. The app runs on HL2. We are able to download the crash dumps via Windows Device Portal. However, for automating crash upload we require the path of the crash dumps.

Could anyone tell us how to get the path of the crash dumps on the HL2 device programmatically?

HoloLens Development
HoloLens Development
HoloLens: A family of Microsoft self-contained, holographic devices that enable engagement with digital content and interaction with holograms in the surrounding environment.Development: The process of researching, productizing, and refining new or existing technologies.
387 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Hernando Ren 2,166 Reputation points
    2021-08-05T07:17:44.707+00:00

    Hello, Welcome to Microsoft Q&A,

    for automating crash upload we require the path of the crash dumps.

    I believe what you want is a way to retrieve application crash dumps programmatically.
    If so, you can use Windows Device Portal REST API to do that: First, call /api/debug/dump/usermode/dumps to get the list of all crash dumps for sideloaded apps, and then, call /api/debug/dump/usermode/crashdump and take “packageFullname ” and "fileName " as argument to obtain the crash dump. For more information please refer to:Dump collection

    ----
    If the response is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    1 person found this answer helpful.