Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-3757] Debugger: Return the empty string "" for nameless functions instead of (anonymous)

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionFixed
Resolution Date2011-05-15T10:41:22.000+0000
Affected Version/sRelease 1.7.0
Fix Version/sRelease 1.7.0, Sprint 2011-17
ComponentsAndroid
Labelsandroid, debugger, parity
ReporterMarshall Culpepper
AssigneeMarshall Culpepper
Created2011-04-27T13:03:25.000+0000
Updated2011-05-15T10:41:22.000+0000

Description

Comments

  1. Marshall Culpepper 2011-05-15

    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"
  2. Don Thorp 2011-05-15

    Verified

JSON Source