Uploaded image for project: 'Titanium SDK/CLI'
  1. Titanium SDK/CLI
  2. TIMOB-18253

iOS: Debugger crashed when the variable value is changed to random object

    Details

    • Type: Bug
    • Status: Closed
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: Release 3.5.0
    • Fix Version/s: Release 3.5.0
    • Component/s: iOS
    • Labels:

      Description

      • Put a breakpoint at line 3 in the below code.

        function doClick(e) {
        	var txt = "labelTxt";
            alert(txt);
            print(e);
        }
         
        function print(e) {
        	Ti.API.info('info');
            Ti.API.warn('warn');
            Ti.API.error('error');
        }
         
        $.index.open();
        

      • Debug the app onto iOS device or simulator.
      • Click on the label, so that the thread suspends its execution at line 3.
      • Now, change the value of 'txt' to "changed". Press F8 (Resume). The dialog shows the message "changed". It works !

      Click on the label again to suspend the thread at the same line. Now, change the value of 'txt' to changed. Press F8 (Resume). The debugger/app will crash.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                penrique Pedro Enrique (Inactive)
                Reporter:
                pinnamuri Praveen Innamuri (Inactive)
              • Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Backbone Issue Sync

                  • Titanium SDK/CLI <> Titanium Mobile
                    Synced with:
                    TIMOB-19498
                    Sync status:
                    ERROR
                    Last received:
                    Last sent:

                    Git Integration