Details

    • Sub-task
    • Resolution: Invalid
    • P3: Somewhat important
    • 4.8.0
    • Qt Script
    • None

    Description

      http://doc.trolltech.com/4.7/qscriptcontextinfo.html

      This is a low-level class. These are the known use cases:

      • Constructing a backtrace. This class gives access to the individual components that make up the backtrace (fileName(), lineNumber(), functionName()), so that e.g. a graphical debugger can arrange these nicely. Used in combination with QScriptContext::parentContext() to walk up the QtScript stack.
      • Finding out where a native function was called from. This can be done by creating a QScriptContextInfo for the parentContext(). This is useful for test tools (QTestLib integration) and loggers.

      Having a backtrace() function in QScriptEngine that returns a list of frame info structures can handle both of the above use cases.

      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)
              kenthans Kent Hansen (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes