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

iOS: App is not suspended on exceptions

    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

      • Enable the preference Suspend on exception in Studio > Javascript Debug
      • Debug a iOS app onto device/simulator using the below code

        function doClick(e) {
        	var txt = "labelTxt";
            alert(txt);
            print(e);
        }
         
        function print(e) {
        	var unknown = undefined;
        	Ti.API.info('info');
            Ti.API.warn('warn');
            Ti.API.error('error');
            	throw new Error("testing exception");
        }
         
        $.index.open();
        
        

      The thread does not suspend when we throw the error or exception.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Git Source Code