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

Breakpoints within Component.onCompleted are not hit by QML Debugger

    XMLWordPrintable

Details

    Description

      I tried to debug a function which is called in Component.onComplete and defined in an external file storage.js

      Component.onCompleted: {
      
              // Initialize the database
              Storage.initialize();
              // Sets a value in the database
              Storage.setSetting("mySetting","myValue");
              // Sets the textDisplay element's text to the value we just set
              //console.log("mySetting");
              textDisplay.text = "The value of mySetting is:\n" + Storage.getSetting("mySetting");
          }
      

      but the breakpoint is not hit.

      Attachments

        Activity

          People

            ajana Aurindam Jana
            owerfeldt Carsten Owerfeldt
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: