hockeyapp not understand crash logs

做~自己de王妃 提交于 2020-01-06 08:38:10

问题


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.



来源:https://stackoverflow.com/questions/33065415/hockeyapp-not-understand-crash-logs

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!