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

[Reg] Missing line number in backtrace when function calls eval()

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: P3: Somewhat important P3: Somewhat important
    • None
    • 4.6.0
    • Qt Script
    • None

      See tst_QScriptContext::backtrace() test, data tags "eval" and "eval in member".
      If a backtrace contains a call to eval(), then the backtrace item corresponding to the function that calls eval() doesn't have the correct line number (it reports -1).
      The comment in the test claims that this is only an issue when the JIT is disabled, but that's not true; with the JIT we hit an assert when NDEBUG is not defined.

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

            Unassigned Unassigned
            kenthans Kent Hansen (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes