Titanium Mobile
  1. Titanium Mobile
  2. TIMOB-3757

Debugger: Return the empty string "" for nameless functions instead of (anonymous)

    Details

      Activity

      Hide
      Marshall Culpepper added a comment -

      Steps to test:

      • Add a button with a "click" listener to the app, and set a breakpoint inside the listener
        var button = ...
        button.addEventListener("click", function(e) {
           var x = 0; // set breakpoint here
        });
        
      • Click the button, and when the breakpoint hits, the top stack frame in the Debug view should say "Top-level script"
      Show
      Marshall Culpepper added a comment - Steps to test: Add a button with a "click" listener to the app, and set a breakpoint inside the listener var button = ... button.addEventListener("click", function(e) { var x = 0; // set breakpoint here }); Click the button, and when the breakpoint hits, the top stack frame in the Debug view should say "Top-level script"
      Hide
      Don Thorp added a comment -

      Verified

      Show
      Don Thorp added a comment - Verified

        People

        • Assignee:
          Marshall Culpepper
          Reporter:
          Marshall Culpepper
        • Watchers:
          0 Start watching this issue

          Dates

          • Created:
            Updated:
            Resolved:

            Development