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

Creator is not correctly sets a breakpoint if multiple files exists in a project with the same name

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Moved
    • Icon: P2: Important P2: Important
    • None
    • Qt Creator 2.4.0, Qt Creator 2.5.0-beta
    • Debugger
    • None
    • Linux x86/x86_64, gdb 7.3

      For example, i have two files with a same name in my project:

      /home/vlad/prog/vd3/src/client/modules/report_editor/controls/enum.cpp

      and

      /home/vlad/prog/vd3/src/client/modules/scenario_executor/plugins/enum/enum.cpp

      When i set a breakpoint to "report_editor/controls/enum.cpp" really point is set to file "scenario_executor/plugins/enum/enum.cpp"

      In the debugger commands log we have:

      3742-break-insert  -f "\"enum.cpp\":43"

      There is file name without full path. This is a bug.

        1. output.log
          60 kB
        2. commands.log
          1.0 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            hjk hjk
            navrocky Vladislav Navrocky
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes