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

Breakpoints do not work if File->Recent Projects CMakeLists.txt path contains different case to what is on disk

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • Qt Creator 4.0.2
    • Debugger
    • Qt creator on Mac Sierra, using Auto Detected Build Kit "Desktop Qt 5.7.0 clang 64bit"

    Description

      Steps to reproduce.

      1) Open a cmake project (in a dir called for example "myProject")
      2) Close QtCreator
      3) Rename the directory containing the project to have the same name, but alter the case (e.g. change "myProject" to "myproject")
      4) Use the File->Recent Projects to open myProject (note the case is still the original case)
      5) The project will build and run fine, but breakpoints will not work (the debugger console will show dNO LOCATIONS (YET) FOR BP for your breakpoints)
      6) Close the project, then open it using File->Open file or project, and (because the case is now correct) the breakpoints will work

      Might sound trivial, but took me a lot of work to figure out what the problem was!

      Attachments

        Issue Links

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

          Activity

            People

              hjk hjk
              brucerankine Bruce Rankine
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes