Uploaded image for project: 'Apache Flex'
  1. Apache Flex
  2. FLEX-15698

fdb debugger cannot 'print' variables which start with a '$'

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • Adobe Flex SDK 3.1 (Release)
    • None
    • FDB - Debugger
    • None
    • Affected OS(s): Mac
      Browser: Firefox 2.x
      Language Found: English

    Description

      Steps to reproduce:

      compile a method which uses variables whose identifiers are prefixed with "$", e.g.,

      function foo (a,b) {
      var $1_foo = a;
      var $2_bar = b;
      return $2_bar + $1_foo;
      }

      1.
      set breakpoint in fdb at the method, and step through it.

      try to print a variable in fdb, like

      print $2_bar
      2.
      3.

      Actual Results:

      fdb says

      Variable $2_bar unknown

      Expected Results:

      fdb should print the variable's value

      Workaround (if any):

      don't use variable names which start with "$". Note however that "$" is the standard javascript practice for naming
      internal variables, so fdb ought to be able to accept them.

      Attachments

        Activity

          People

            Unassigned Unassigned
            adobejira Adobe JIRA
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: