Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-27469

Debugger will not stop in a breakpoint when path contains non-ASCII characters

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Not Evaluated
    • None
    • Qt Creator 8.0.0-beta1
    • Debugger
    • None

    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.

      1. Extract the archive to a path containing non-ASCII characters, for example I used D:\õõõ
      2. Open "mylib" in Qt Creator and compile it in Debug configuration (note I have shadow build disabled).
      3. Open "app" in Qt Creator and run qmake (this creates the app\debug folder)
      4. Copy mylib\debug\mylib.dll to app\debug
      5. Set a breakpoint to MyLib.cpp
      6. 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

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              hjk hjk
              karmo Karmo Kuurberg
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes