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 debug in Windows using MSVC
Forum Updated to NodeBB v4.3 + New Features

Remote debug in Windows using MSVC

Scheduled Pinned Locked Moved Unsolved General and Desktop
1 Posts 1 Posters 470 Views
  • 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.
  • Q Offline
    Q Offline
    QtTester
    wrote on 21 Mar 2023, 01:10 last edited by QtTester
    #1

    Hi all,
    I am using 5.14.1+VS2017.
    I am trying to remote debug a target app in Windows10 ,but with cdb, the variable cannot be accessed. And with remote debugger , I don't know how to setup and it always stop at start.
    here are some link i can find:
    https://forum.qt.io/topic/142280/attach-to-remote-running-debugging-server-with-cdb
    https://forum.qt.io/topic/134471/variable-not-accessible-during-remote-debugging
    https://doc.qt.io/qtcreator/creator-debugger-operating-modes.html#remote-debugging
    seems no one already successfully used remote debugger. here is some tips for the mfc application:
    1/copy
    c:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\Remote Debugger
    to target PC, and run the msvsmon.exe
    2/copy exe to target PC,and run it
    3/at VS debug->Attach to process....
    2023-03-21_083757.jpg
    2023-03-21_084249.jpg

    So far, We can happy to debug the app,and variable value is able to be accessed.

    But with qtcreator, it's very complicated and donnot know how to setup:
    2023-03-21_090633.jpg

    2023-03-21_090623.jpg

    Every time I start , it will stop , not like VS will attatch the process
    Anyone can show me how to setup ?am I wrong?

    1 Reply Last reply
    0

    1/1

    21 Mar 2023, 01:10

    • Login

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