hockeyapp not understand crash logs

2019-08-19 08:04发布

问题:

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.