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

Cannot change string values when stepping in .js-file

    XMLWordPrintable

    Details

    • Commits:
      eeb0358d65620f6de39649fbe8b43ee44b5fff8c

      Description

      1. Open qtdeclarative/examples/quick/demos/samegame/samegame.qmlproject from Qt5's repository.
        The problem will be the same if you open the .pro-file instead.
      2. Place a breakpoint at the first line of the startNewGame() function (samegame.js) which contains executable code (i.e. not (only) a comment).
      3. Start debugging app
      4. In the app, click "1 Player".
        The breakpoint is being hit.
      5. Try to change the value of "this->gameMode" in the Locals and Expressions view.
        It does not work.

      It should be possible to change this value. With numeric values this seems to work.

        Attachments

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

          Activity

            People

            • Assignee:
              ulherman Ulf Hermann
              Reporter:
              rlohning Robert Löhning
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Gerrit Reviews

                There are no open Gerrit changes