Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Remote debugging MSVC
Forum Updated to NodeBB v4.3 + New Features

Remote debugging MSVC

Scheduled Pinned Locked Moved General and Desktop
debugger
4 Posts 2 Posters 1.8k Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Andy314A Offline
    Andy314A Offline
    Andy314
    wrote on last edited by
    #1

    I need remote debuging from one windows PC to a windows tablet.
    Steps:
    Install the cdb
    copy the qt debuger extension folder to the remote computer and set _NT_DEBUGGER_EXTENSION_PATH to this path.

    Then I start
    cdb.exe -server tcp:port=1234 CarDamage.exe
    (for the first test on my developping computer)
    I get the error:
    cdb.exe -server tcp:port=1234 CarDamage.exe

    Symbol search path is: *** Invalid ***
    ****************************************************************************
    * Symbol loading may be unreliable without a symbol search path.           *
    * Use .symfix to have the debugger choose a symbol path.                   *
    * After setting your symbol path, use .reload to refresh symbol locations. *
    ****************************************************************************
    ...................................
    (2158.b5c): Unknown exception - code c0000135 (first chance)
    (2158.b5c): Unknown exception - code c0000135 (!!! second chance !!!)
    *** ERROR: Symbol file could not be found.  Defaulted to export symbols for ntdl
    l.dll -
    

    How can I get the symbols on my remote computer?

    1 Reply Last reply
    0
    • L Offline
      L Offline
      Leonardo
      wrote on last edited by
      #2

      You should deploy your pdb file also. If you don't have on, check "Generate separate debug info" on you project and build it again.

      Andy314A 1 Reply Last reply
      0
      • L Leonardo

        You should deploy your pdb file also. If you don't have on, check "Generate separate debug info" on you project and build it again.

        Andy314A Offline
        Andy314A Offline
        Andy314
        wrote on last edited by
        #3

        @Leonardo
        Ok so simple is it.
        Meanwhile I have solved it by copying the whole cache folder and set the -y parameter for cdb.
        I have 2 Projectname.pdb files. One large in the cache folder and one in the debug folder.
        Can you explane how it works and what is the different between these two files ?

        1 Reply Last reply
        0
        • L Offline
          L Offline
          Leonardo
          wrote on last edited by
          #4

          I'm not sure which cache folder are you talking about. Anyway, you should use the one that was in the same folder as your exe.

          1 Reply Last reply
          0

          • Login

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt Extensions
          • Unsolved