Description
Related to https://bugreports.qt.io/browse/QTCREATORBUG-27445
Tested the fix for the linked issue using a snapshot here https://download.qt.io/snapshots/qtcreator/8.0/8.0.0-beta1/854/ and Qt 6.3.0 MinGW Windows kit. The issue that GDB does not start is solved but seems there is another issue that debugger does not stop in a breakpoint when that breakpoint is in a shared library.
The Debugger Log prints:
>&"warning: while parsing target library list: not well-formed (invalid token)\n" while parsing target library list: not well-formed (invalid token)
Attached a TestProject.zip.
- Extract the archive to a path containing non-ASCII characters, for example I used D:\õõõ
- Open "mylib" in Qt Creator and compile it in Debug configuration (note I have shadow build disabled).
- Open "app" in Qt Creator and run qmake (this creates the app\debug folder)
- Copy mylib\debug\mylib.dll to app\debug
- Set a breakpoint to MyLib.cpp
- Start debugging the "app" project
Result is that the debugger does not stop on the breakpoint inside MyLib.cpp. But it will work when instead of extracting the project into D:\õõõ one puts it into D:\aaa.
Attachments
Issue Links
- relates to
-
QTCREATORBUG-27445 Can't debug when path contains non-ASCII characters
-
- Closed
-