Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-6187

QScriptEngineAgent callbacks are not called in rar cases

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Invalid
    • Icon: P4: Low P4: Low
    • None
    • 4.6.0
    • Qt Script
    • None
    • Linux (Debian testing)

      For these scripts:

      "'ciao'.toString()"
      "(123).toString()"
      "['s','a'].toString()"
      "false.toString()"
      "/a/.toString()"

      The QScriptEngineAgent won't emit the funcitonEntry and the functionExit events for the toString() call, while for a similar scripts it will:

      "String('ciao').toString()"
      "Number(123).toString()"
      "Array('s', 'a').toString()"
      "Boolean(true).toString()"
      "RegExp('a').toString()"

      In Qt 4.5 both scripts versions had the same behavior.

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

            kenthans Kent Hansen (Inactive)
            nierob Nierob
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes