Im using hockeyapp to get crash reports. How can i understand at which class/method/line did my application crashed ?
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
To get the most use out of crash reports from HockeyApp, you should upload your dSYM symbol files to the site. This will give you fully symbolicated crash logs where it clearly states the file, method and line number where your crash is occurring.
For detailed instructions on how to do that, see this support article.
回答2:
Some where you set/assign image as a parameter/argument. and this image is nil in case but this image should not be nil.
for example:
-(void)setImageOnExampleView:(UIImage*)image{
//if here is image = nil and if you call this method anywhere such crash will happen
[yourImageView setImage:image];
}
So, to detect where this crash occur, in possible places, where you are setting image; you should set "Break Point and debug in which classes of which method this crash occur.