Search code examples
debuggingwindows-phonewindbgwindows-phone-8.1

windows phone 8.1 attach windbg to a build in process


I would like to know how to attach windbg to a process running in windows phone 8.1. Googling didn't help. Can anybody help me? Thanks


Solution

  • To Connect WinDbg to an existing process on the phone

    1. In TShell, enter this command:

    debug-device –debugger WinDbgPath

    where WinDbgPath is the path to WinDbg on the host computer.

    2. Example:

    debug-device –debugger “C:\Program Files (x86)\Windows Kits\8.1\Debuggers\x86\WinDbg.exe”
    

    3. In WinDbg, on the File menu, choose Attach to Process. Select one of the listed processes, and click OK.

    For more Refrence Use debug-device in TShell to attach a debugger to a process