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

Breakpoints for QML files in Qt Resources are not working

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Not Evaluated
    • None
    • Qt Creator 9.0.2, Qt Creator 10.0.0-beta2
    • Debugger
    • None
    • Linux/X11, Windows

    Description

      When adding breakpoints to QML files that are inside a Qt Resource, the breakpoint is named after the filename and path in the local filesystem. Thus the breakpoint will not be hit when the QML debugger is started.
      If I rename the breakpoint location to the file path within the Qt Resource, the QML debugger will hit the breakpoint and everything is working fine.


      In the picture, breakpoint 1 is not working but that how it is created in QtCreator
      Breakpoint 2 was modified by me and is working
      Please note that they are pointing to two different locations in the code, the example shall only show that the file path style is different.

      Attachments

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

        Activity

          People

            hjk hjk
            davidweisgerber David Weisgerber
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes