简体   繁体   English

我无法在XCode调试器控制台中获取错误代码行号,如何获取行号?

[英]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. 您应该启用旨在查找此类错误的NSZombie。 See here 这里

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 XCode 5:如何调试? 得到错误的那一行? NSInvalidArgumentException - XCode 5: How to Debug? Get the line of the error? NSInvalidArgumentException 查找与XCode调试器中的错误对应的行 - Finding line corresponding to error in XCode debugger 我可以将CSV文件数据放入数组,但是在解析下一行时,它会使用\\ n字符。 如何删除\\ n字符 - I am able to get the CSV file data into array,but when it is parsing the next line, it is taking a \n character. how to remove the \n character Objective-C如何获取引发异常的行号 - Objective-C How to get the line number where exception was thrown 如何获取目标C中正在运行的行号 - How to get which line number is executing at runtime in Objective C 在iOS中获取兑现的行号和函数名称 - Get cashed line number and function name in ios Xcode调试器:按照给定的代码行在代码中的任意位置中断 - Xcode debugger: Break anywhere in my code following a given line of code 如何在调试器控制台中获取NSDictionary对象的值/键? - How can I get the value / keys of NSDictionary objects in the debugger console? 目标C - 从调试器错误中获取行号或完整堆栈跟踪? - Objective C - getting line number or full stack trace from debugger error? Xcode调试器,我不明白 - Xcode debugger, I don't get this
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM