XMDebug is a debug tool to help developer
1.ScreenShot
2.Download
You can download from GitHub’s [releases page].
Or use Gradle:
1 | repositories { |
3.How do I Use
3.1 App Info
You can see Activities, Services , Receivers ,Providers,Permissions colletions . Some Detail of your App like ,verson ,version code .
In Activities your can see All Activity . Press the item your can jump to the corresponding Activity .
3.1.1 Activities
3.1.2 Permissions .See the detail of Permissions
3.2 Exception Reports
You can see the bugs reports with the detail of code and the screenshot of the exception happen
3.3 Local Data
Detail of SharedPreference ,Sqlite, local Cache. You can also clean the data through this debug tools
3.4 Toast Activity Name
Switch On Show Activity Name ,You can see the toast of Activity of .
4.Start
4.1 First … emm ,you should implementation the library
4.2 In your custom application ,put the code below
override fun onCreate() {
super.onCreate()
DebugCrashHandler.setCrashHandler(this)
}
these code use to capture the exceptions
4.3 put the DebugHomeActivity entrance in somewhere nobody know
GitPage
https://guobao90.github.io/2018/11/30/debug/
Author
leo, guobao9006@gmail.com
License
XMDebug is available under the MIT license. See the LICENSE file for more info.