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

Cannot change string values when stepping in .js-file

XMLWordPrintable

    • eeb0358d65620f6de39649fbe8b43ee44b5fff8c

      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.

        For Gerrit Dashboard: QTCREATORBUG-19032
        # Subject Branch Project Status CR V

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes