Original address: http://www.raywenderlich.com/zh-hans/30818/ios%E5%BA%94%E7%94%A8%E5%B4%A9%E6%BA%83%E6%97%A5%E5%BF%97%E6% 8f%ad%e7%a7%98
Click to open the link
This article can also find English here
If you are new here, your may want to subscribe to my RSS feeds or follow me on Twitter. For visiting!
Learn to make sense of crash logs!
The writer is Soheil Moayedi Azarpour, an independent iOS developer.
As an application developer, have you ever h
iOS development, often encountered in the development and testing of the app will not be a problem, but installed in other people's devices will be a variety of occasional inexplicable crash, because the iOS device will save most of the app's crash log, so you can crash log
Http://bughd.com/doc/index
BUGHD User Manual I. Login/REGISTERIf you already have a fir.im account, you can log in directly using Fir.im's account.Two. Create a project
In the list of items, click "Create Project"
Enter the project name, the type of application for the option item
Gets to General_key, which is used to configure the SDK.
Three. Integration SDKIOS app SDK IntegrationAndroid app SDK IntegrationFour. Gathering
There are several ways to get the crash log:1. When the user complains about the flashback, you can ask him to sync the device with itunes, and when the device syncs with the itunes Store on the computer, the crash log will be saved on the computer (path: Mac OS x:~/library/logs/crashreporter/ mobiledevice/) to the abo
From: http://www.cnblogs.com/shiyangxt/archive/2009/01/06/1370627.html thanks to the author Shi Yang
A jvm crash error was reported during JNI the other day. The error message is as follows:
## An Unexpected error has been detected by hotspot virtual machine:## Exception_access_violation (0xc0000005) at PC = 0x009fcf52, pid = 4752, tid = 4440## Java VM: Java hotspot (TM) Client VM (1.5.0 _ 14-b03 Mixed Mode)# Problematic frame:# V [JVM. dll + 0x9cf52]
Get crash log
Without a third-party framework, it is very difficult to collect the crash logs of ios apps. There are two methods:
The first method is to ask the user to enable automatic sending in "diagnosis and usage". If the APP crashes, a prompt box will pop up in ios. After the user confirms, the crash
The general steps to resolve the bug from the crash file are in three steps:A, get the crash log on the device.b, analyze the crash log, locate the error location (navigate to the function and the number of lines of code).C, open the code, change the bug.1. Get the device lo
First, preface:As a qualified iOS developer, in addition to the ability to code strong coding, but also should have excellent error-checking ability. In the project run, the program crashes is unavoidable, encountered this problem, sometimes there will be a lot of crash log, 艹, seemingly do not understand AH. It's not that scary, but we can format the logs to quickly locate the problem and get it done quick
This article mainly organized the symbolic parsing of crash log and debugging information related to the configuration of some content.For mobile app development, quality and experience are important. A client application if often "flash back", is the product quality is a poor embodiment, the user experience is not to mention. So the development of an excellent app, the first is to ensure their technical qu
In the iOS development process, when the app has been packaged, iphone devices installed through the IPA package application, the use of the process to find crash, then how to obtain the crash log, now provides the following four ways to get crash logs:1, open the settings of the iphone device in the privacy of the "di
1. Why symbolize:iOS program in the real machine running program crash condition, the machine will automatically generate a log file, it contains the program crash before the running logic, analysis of Carsh files, effective solution to the problem on the real machine, to ensure the good stability of the program, However, the
Note that Symbolicatecrash is an error log analysis tool that can be used independently.While the iphone is connected to Xcode, it is possible to view the device logs directly, but more crashes occur after we have distributed the IPA (either test or shelves). Therefore, if we are fortunate enough to get the logs from the user, then Symbolicatecrash will be able to show great divinity at this time, it can transform the error
1.1.1. If a crash happens thisconfiguration does not guarantee that the relay log info will be consistent
[Environment description]
Msyql5.6.14
[Error message]
When mysql slave is started, the following Warning occurs in error. log:
[Warning] Slave SQL: If a crash happensthis configuration does not guarantee that the r
Android Native crash log analysis, androidcrash
In the crash type of Android applications, the native type crash should be a relatively difficult one, because there are few contacts, and then there are several more steps to switch, most of them are unfamiliar with this. Although there are many related articles, I still
Linux processes, and the Linux signal is used for normal interprocess communication and synchronization, such as task control (SIGINT, Sigtstp,sigkill, Sigcont, ...). On the other hand, it is also responsible for monitoring system anomalies and interruptions. When an application runs an exception, the Linux kernel generates an error signal and notifies the current process. After the current process receives the error signal, there are three different ways to handle it. 1. Ignore the signal.2. C
Transferred from: HTTP://WEIBO.COM/P/230418702C2DB50102VC2HAndroid has been a few years, but the NDK's opening speed is very slow, so the current network on the Android Nativecrash analysis of the relatively few, especially the very detailed analysis method is more difficult to query. As a result, most programmers helpless when they encounter crashlog that are difficult to addr2line. In fact, the other parts of the log also provide a very rich informa
, ProjectName.app.dSYM, crashLog.txt uuid are consistent
Dwarfdump--uuid Projectname.app/projectname
Dwarfdump--uuid ProjectName.app.dSYMThe UUID of the crash log is in Binary Images: After the first line projectname arm64
6. Terminal input
./symbolicatecrash/users/xxx/desktop/crach/crashlog.txt/users/xxx/desktop/crach/projectname.app.dsym > Crashlogend.crash
Error: ' Developer_dir ' is ' not defined './sym
There are many methods to analyze the crash log in Mac OS. Here we do not want to explain how to analyze the crash log, mainly to show the usage of Hopper. The powerful Ida may already be known, but its Mac OS version has brought us back to the DOS era. Fortunately, Mac OS has a small alternative: Hopper, which basical
iOS development, there are several ways to view crash logs.1 before release, the beta phase, the installation of the Hoc version of the IPA, if the crash, get the device, on the machine on the package open Xcode,orgnizer, check the device log can be seen.2 after the release, the user crashes during use, the best thing is to let users send the device
Transferred from: http://blog.csdn.net/totogo2010/article/details/39892467To parse the crash log, you first need to keep the compiled. xcarchive file at the time of publication. This file contains the. dSYM file.My general practice is, after the successful release, put this file. Xcarchive directly into the version branch of the code repository, so it won't be lost.Where is this file? Open the Xcode-> menu
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.