简体   繁体   中英

I am not able to get error code line number in XCode debugger console, how to get line number?

I am getting error code like follows

(gdb) continue
Current language:  auto; currently objective-c
(gdb) continue
(gdb) continue
(gdb) continue
2011-11-08 17:31:53.156 OnContact[2849:207] *** -[CFString release]: message sent to             deallocated instance 0x4cf2eb0
(gdb) continue
Program received signal:  “SIGKILL”.
(gdb)

Can anybody help me finding out the line number where error had occured

Thanks

You should enable NSZombie, that is designed to find such errors. See here

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM