Remote debug in Windows using MSVC
-
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....
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:
Every time I start , it will stop , not like VS will attatch the process
Anyone can show me how to setup ?am I wrong?