Uploaded image for project: 'Appcelerator - INBOX'
  1. Appcelerator - INBOX
  2. AC-3032

Debugger crashes if you call Ti.API.info(anyObjectHere); trying to log out an object will cause debugger to crash

    Details

    • Type: Bug
    • Status: Closed
    • Resolution: Needs more info
    • Affects Version/s: None
    • Component/s: Studio
    • Environment:

      iOS Simulator - either

      Description

      Debugger crashes if you call Ti.API.info(anyObjectHere); trying to log out an object will cause debugger to crash

      Crash report from Studio:

      2011-07-29 18:05:48.970 SnagR[40386:1aa03] -[NSNull characterAtIndex:]: unrecognized selector sent to instance 0x261b5e8
       
      2011-07-29 18:05:48.975 SnagR[40386:1aa03] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[NSNull characterAtIndex:]: unrecognized selector sent to instance 0x261b5e8'
       
      *** Call stack at first throw:
       
      (
       
      	0   CoreFoundation                      0x025ae5a9 __exceptionPreprocess + 185
       
      	1   libobjc.A.dylib                     0x02702313 objc_exception_throw + 44
       
      	2   CoreFoundation                      0x025b00bb -[NSObject(NSObject) doesNotRecognizeSelector:] + 187
       
      	3   CoreFoundation                      0x0251f966 ___forwarding___ + 966
       
      	4   CoreFoundation                      0x0251f522 _CF_forwarding_prep_0 + 50
       
      	5   SnagR                               0x00332eb3 -[TiDebugger log:level:] + 134
       
      	6   SnagR                               0x00334938 TiDebuggerLogMessage + 69
       
      	7   SnagR                               0x001436a6 -[APIModule logMessage:severity:] + 486
       
      	8   SnagR                               0x00143893 -[APIModule info:] + 147
       
      	9   CoreFoundation                      0x0251ec7d __invoking___ + 29
       
      	10  CoreFoundation                      0x0251eb51 -[NSInvocation invoke] + 145
       
      	11  SnagR                               0x0004dfd9 -[KrollMethod call:] + 3081
       
      	12  SnagR                               0x0004ca7e KrollCallAsFunction + 542
       
      	13  SnagR                               0x002dad39 _ZN2TI16TiCallbackObjectINS_8TiObjectEE4callEPNS_10TiExcStateEPS1_NS_7TiValueERKNS_7ArgListE + 391
       
      	14  SnagR                               0x002b7ffb cti_op_call_NotTiFunction + 299
       
      	15  ???                                 0x10e1db49 0x0 + 283237193
       
      	16  SnagR                               0x00274336 _ZN2TI11Interpreter7executeEPNS_14EvalExecutableEPNS_10TiExcStateEPNS_8TiObjectEiPNS_14ScopeChainNodeEPNS_7TiValueE + 1038
       
      	17  SnagR                               0x00276015 _ZN2TI11Interpreter8callEvalEPNS_10TiExcStateEPNS_12RegisterFileEPNS_8RegisterEiiRNS_7TiValueE + 693
       
      	18  SnagR                               0x002b4233 cti_op_call_eval + 195
       
      	19  ???                                 0x0fd22969 0x0 + 265431401
       
      	20  SnagR                               0x00274c55 _ZN2TI11Interpreter7executeEPNS_18FunctionExecutableEPNS_10TiExcStateEPNS_10TiFunctionEPNS_8TiObjectERKNS_7ArgListEPNS_14ScopeChainNodeEPNS_7TiValueE + 975
       
      	21  SnagR                               0x002c642d _ZN2TI10TiFunction4callEPNS_10TiExcStateENS_7TiValueERKNS_7ArgListE + 129
       
      	22  SnagR                               0x0023db4b _ZN2TI4callEPNS_10TiExcStateENS_7TiValueENS_8CallTypeERKNS_8CallDataES2_RKNS_7ArgListE + 91
       
      	23  SnagR                               0x002d9056 TiObjectCallAsFunction + 454
       
      	24  SnagR                               0x00056ba3 -[KrollObject triggerEvent:withObject:thisObject:] + 739
       
      	25  SnagR                               0x000490f1 -[KrollEvent invoke:] + 145
       
      	26  SnagR                               0x00047e5d -[KrollContext invoke:] + 189
       
      	27  SnagR                               0x00046a3e -[KrollContext main] + 4478
       
      	28  Foundation                          0x0089dcf4 -[NSThread main] + 81
       
      	29  Foundation                          0x0089dc80 __NSThread__main__ + 1387
       
      	30  libsystem_c.dylib                   0x95475ed9 _pthread_start + 335
       
      	31  libsystem_c.dylib                   0x954796de thread_start + 34
       
      )
       
      terminate called throwing an exception
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                tguntharp Tony Guntharp
                Reporter:
                mark.henderson@snagr.co.uk Mark Henderson
              • Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Git Source Code