Details
-
Suggestion
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
-
Qt Creator 4.0.3
-
None
Description
I tried to debug my project with "Analyze/Valgrind Memory Analyzer with GDB" and got following error:
Connecting to remote server failed:
Remote communication error. Target disconnected:
Connection was canceled by the other side.
(the last sentence is a rough translation from Russian).
At the same point just "Analyze/Valgrind Memory Analyzer" (without GDB) was working fine. I'd decided that the problem with GDB, but later found out that it just can't handle some characters in command line argument string (specified in Project\Run). At least "]" and "}" breaks connection to GDB. (without commas).
I believe that error message is unclear and misleading. My proposal is to check the command line argument parameter and warn user that "Valgrind Memory Analyzer with GDB" won't work with such command line.