none
Tracepdb can not create tmc files RRS feed

  • Question

  • Hi all,

    I use the following cmd on my pc to create tmc file for debug. But there is something wrong i don't know why anyone can help me?

    C:\Program Files (x86)\Windows Kits\8.1\bin\x64>tracepdb -f sdbus.pdb -s -p D:\ -v -c

    Microsoft (R) TracePDB.Exe (6.3.9600.16384)
    ⌐ Microsoft Corporation. All rights reserved.

    Drive=, Dir=, Name=sdbus, Ext = .pdb
    Target file is sdbus.pdb
    Extracting TMF files from sdbus.pdb to D:\
    error 0x2 loading sdbus.pdb.
    tracepdb : info BNP0000: WPPFMT No Trace entries found in sdbus.pdb
    Couldn't process file sdbus.pdb, Status = 0x00000002
    Continuing
    Processing subdirs
    Processing Dir 1033\
    Drive=, Dir=1033\, Name=, Ext =
    Target file is 1033\*.pdb
    No files Found with pdb
    Processing subdirs
    Processing Dir AccChecker\
    Drive=, Dir=AccChecker\, Name=, Ext =
    Target file is AccChecker\*.pdb
    No files Found with pdb
    Processing subdirs
    Processing Dir AccChecker\AccChecker_HelpFiles\
    Drive=, Dir=AccChecker\AccChecker_HelpFiles\, Name=, Ext =
    Target file is AccChecker\AccChecker_HelpFiles\*.pdb
    No files Found with pdb
    Processing subdirs
    Processing Dir AccScope\
    Drive=, Dir=AccScope\, Name=, Ext =
    Target file is AccScope\*.pdb
    No files Found with pdb
    Processing subdirs
    Processing Dir AppPerfAnalyzer\
    Drive=, Dir=AppPerfAnalyzer\, Name=, Ext =
    Target file is AppPerfAnalyzer\*.pdb
    No files Found with pdb
    Processing subdirs
    Processing Dir AppPerfAnalyzer\en-US\
    Drive=, Dir=AppPerfAnalyzer\en-US\, Name=, Ext =
    Target file is AppPerfAnalyzer\en-US\*.pdb
    No files Found with pdb
    Processing subdirs
    Processing Dir sdbus.pdb\
    Drive=, Dir=sdbus.pdb\, Name=, Ext =
    Target file is sdbus.pdb\*.pdb
    No files Found with pdb
    Processing subdirs
    Processing Dir sdbus.pdb\B7622340F56E4DCE8E665C2C76FC81001\
    Drive=, Dir=sdbus.pdb\B7622340F56E4DCE8E665C2C76FC81001\, Name=, Ext =
    Target file is sdbus.pdb\B7622340F56E4DCE8E665C2C76FC81001\*.pdb
    Extracting TMF files from sdbus.pdb\B7622340F56E4DCE8E665C2C76FC81001\sdbus.pdb to D:\
    tracepdb : info BNP0000: WPPFMT No Trace entries found in sdbus.pdb\B7622340F56E4DCE8E665C2C76FC81001\sdbus.pdb
    Processing subdirs
    Processing Dir sdbus.pdb\D9B373EDD7744EA18448B624163FBEB71\
    Drive=, Dir=sdbus.pdb\D9B373EDD7744EA18448B624163FBEB71\, Name=, Ext =
    Target file is sdbus.pdb\D9B373EDD7744EA18448B624163FBEB71\*.pdb
    Extracting TMF files from sdbus.pdb\D9B373EDD7744EA18448B624163FBEB71\sdbus.pdb to D:\
    tracepdb : info BNP0000: WPPFMT No Trace entries found in sdbus.pdb\D9B373EDD7744EA18448B624163FBEB71\sdbus.pdb
    Processing subdirs
    Processing Dir UIAVerify\
    Drive=, Dir=UIAVerify\, Name=, Ext =
    Target file is UIAVerify\*.pdb
    No files Found with pdb
    Processing subdirs

    • Moved by Eric Fleck Monday, August 25, 2014 10:02 PM
    Monday, August 25, 2014 2:50 AM

Answers

  • 1) if there is a  TMF file to extract from sdbus, it would already be in the wdk. I don't think there is any public tracing info for you to extract

    2) For the tool to write to the directory in which tracepdb is in, you need to be running as admin in an admin command prompt, otherwise %programfiles% is read only to normal users

    3) try specifying a fully qualified path to the pdb.


    d -- This posting is provided "AS IS" with no warranties, and confers no rights.

    Tuesday, August 26, 2014 7:19 AM

All replies

  • Are you developing a driver?

    Did you mean to post in the Hardware Development WDK and driver development forums?


    Eric Fleck, Windows Store and Windows Phone Developer Support. If you would like to provide feedback or suggestions for future improvements to the Windows Phone SDK please go to http://wpdev.uservoice.com/ where you can post your suggestions and/or cast your votes for existing suggestions.

    Monday, August 25, 2014 8:14 PM
  • Yes i am.

    Who know tracepdb ? can i use this cmd ?

    tracepdb –f sdbus.pdb –o sdbus.tmf



    • Edited by xyf_new Tuesday, August 26, 2014 8:35 AM
    Tuesday, August 26, 2014 1:48 AM
  • 1) if there is a  TMF file to extract from sdbus, it would already be in the wdk. I don't think there is any public tracing info for you to extract

    2) For the tool to write to the directory in which tracepdb is in, you need to be running as admin in an admin command prompt, otherwise %programfiles% is read only to normal users

    3) try specifying a fully qualified path to the pdb.


    d -- This posting is provided "AS IS" with no warranties, and confers no rights.

    Tuesday, August 26, 2014 7:19 AM
  • I use the full cmd

    >tracepdb -f D:\Symbols-s -p D:\tmp -v -c

    I found it only can extract tmf file from Symbols's pdb files.

    I am not sure the sdbus.pdb can be extract .

    Wednesday, August 27, 2014 8:10 AM