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

QScriptEngineAgent callbacks are not called in rar cases

    XMLWordPrintable

Details

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

    Description

      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.

      Attachments

        Issue Links

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

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes