[TIMOB-6572] iOS: Debugger crashing during module debug
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | High |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2012-01-23T17:01:20.000+0000 |
Affected Version/s | Release 1.8.0.1 |
Fix Version/s | Sprint 2011-50, Sprint 2012-02, Release 2.0.0, Release 1.8.1 |
Components | iOS |
Labels | module_debugger, qe-testadded |
Reporter | Stephen Tramer |
Assignee | Stephen Tramer |
Created | 2011-12-12T10:46:44.000+0000 |
Updated | 2012-02-03T14:11:06.000+0000 |
Description
It appears that certain modules are causing crashes with the debugger at this time. In particular, the relevant crash log excerpt is:
14 CoreFoundation 0x02ebc30a -[__NSCFDictionary setObject:forKey:] + 250
15 testModule 0x00328b88 -[TiDebugger sourceParsed:sourceId:context:] + 424 (TiDebugger.mm:2027)
So there could be problems with certain types of source checking when we crash.
Testing this fix (pull req 973) requires the following: * Testing against the provided sample app (available internally) * Testing against the following code for regressions before and after the fix:
alert("durp durp durp");
* Test against the following code for regressions before and after the fix:If alert() can be overriden before the fix, but not after, this is a *FAIL*
If alert() cannot be overriden before the fix, but can after, this is a *PASS*
If alert() has the same override behavior between versions, this is a *PASS*
Functional test: Alert can be overridden after the fix. Either way, this is a PASS.
Reopening issue. Internal sample app crashes in debug mode on: SDK build: 1.9.0.v20120117114633 Titanium Studio, build: 1.0.8.201201131907 OS: Mac OS X Lion (10.7.1) Device: iOS Simulator (5.0) Note: Was not able to obtain crash log.
Closing this issue; Tested with Ti Studio build 1.0.8.201201210622 Ti Mob SDK 1.9.0.v20120121223134 OSX Lion 10.7.2 iPhone Sim 5.0, iPhone 4 OS 5.0 Ran both the internal app in debug and normally, and tested against sample code in this ticket. Expected behavior on no crash is shown