¡@

Home 

2014/10/15 ¤U¤È 10:11:00

iphone Programming Glossary: leveleditorscene

Random EXC_BAD_ACCESS in a place that it cannot happen

http://stackoverflow.com/questions/6359111/random-exc-bad-access-in-a-place-that-it-cannot-happen

at random times in a place that I confirmed the exception should not happen. The line its happening on is ` LevelEditorScene sharedLevelEditor setObject object forKey key ` LevelEditorScene is a class setObject forKey is a method I implemented not.. should not happen. The line its happening on is ` LevelEditorScene sharedLevelEditor setObject object forKey key ` LevelEditorScene is a class setObject forKey is a method I implemented not the one from NSObject In GDB gdb print object LevelEditorScene.. is a class setObject forKey is a method I implemented not the one from NSObject In GDB gdb print object LevelEditorScene sharedLevelEditor LevelEditorScene 06C3FF40 Tag 1 Means LevelEditorScene sharedLevelEditor is ok. gdb print bool LevelEditorScene..