Ultra Debugger Library

Ultra Debugger is an open source modules-based android library for application debugging.

License

License

GroupId

GroupId

ru.bartwell
ArtifactId

ArtifactId

ultradebugger
Last Version

Last Version

1.4.1
Release Date

Release Date

Type

Type

aar
Description

Description

Ultra Debugger Library
Ultra Debugger is an open source modules-based android library for application debugging.
Project URL

Project URL

https://github.com/bartwell/ultra-debugger
Source Code Management

Source Code Management

https://github.com/bartwell/ultra-debugger.git

Download ultradebugger

How to add to project

<!-- https://jarcasting.com/artifacts/ru.bartwell/ultradebugger/ -->
<dependency>
    <groupId>ru.bartwell</groupId>
    <artifactId>ultradebugger</artifactId>
    <version>1.4.1</version>
    <type>aar</type>
</dependency>
// https://jarcasting.com/artifacts/ru.bartwell/ultradebugger/
implementation 'ru.bartwell:ultradebugger:1.4.1'
// https://jarcasting.com/artifacts/ru.bartwell/ultradebugger/
implementation ("ru.bartwell:ultradebugger:1.4.1")
'ru.bartwell:ultradebugger:aar:1.4.1'
<dependency org="ru.bartwell" name="ultradebugger" rev="1.4.1">
  <artifact name="ultradebugger" type="aar" />
</dependency>
@Grapes(
@Grab(group='ru.bartwell', module='ultradebugger', version='1.4.1')
)
libraryDependencies += "ru.bartwell" % "ultradebugger" % "1.4.1"
[ru.bartwell/ultradebugger "1.4.1"]

Dependencies

compile (9)

Group / Artifact Type Version
org.nanohttpd : nanohttpd jar 2.3.1
ru.bartwell : ultradebugger.wrapper jar 1.4.1
ru.bartwell : ultradebugger.base jar 1.4.1
ru.bartwell : ultradebugger.module.sqlite jar 1.4.1
ru.bartwell : ultradebugger.module.sharedpreferences jar 1.4.1
ru.bartwell : ultradebugger.module.reflection jar 1.4.1
ru.bartwell : ultradebugger.module.info jar 1.4.1
ru.bartwell : ultradebugger.module.files jar 1.4.1
ru.bartwell : ultradebugger.module.logger jar 1.4.1

Project Modules

There are no modules declared in this project.

Ultra Debugger

Ultra Debugger is an open source modules-based android library for application debugging.

Features

Ultra Debugger is module-based tools for easy Android applications debugging. It can be useful for developers and testers. Module-based architecture allow to extend functionality and add specific functionality for your project.

Currently available modules:

  • Reflection - allow call methods from current activity, see list of fields and methods in this activity
  • SQLite - allow see, add, edit and delete items from databases
  • Shared Preferences - allow see, add, edit and delete items from shared preferences
  • Info - shows information about device
  • Logger - Module for logging and variables tracking (use methods Logger.addLog() and Logger.saveValue())
  • Files - allow see directories and download/remove files from device (including application directory)

New modules will added...

Integration

Here is few option to integrate Ultra Debugger in your application.

Add for all configurations

1. Add in build.gradle:

compile 'ru.bartwell:ultradebugger:1.3'

2. Add in Application class in onCreate() method:

UltraDebugger.start(this, 8090);
Add only for debug configurations

1. Add in build.gradle:

debugCompile 'ru.bartwell:ultradebugger:1.3'
compile 'ru.bartwell:ultradebugger.wrapper:1.3'

2. Add in Application class in onCreate() method:

UltraDebuggerWrapper.setEnabled(BuildConfig.DEBUG);
UltraDebuggerWrapper.start(this, 8090);

Default port number is 8080.

Usage

After you integrate library just start application on your smartphone, open browser on your computer and type in address http://xxx.xxx.xxx.xxx:8080, where xxx.xxx.xxx.xxx - IP address of your smartphone. It mean that your computer and smartphone should connected to same network.

How to support project

Your help is really appreciated.

  • Please create your own modules or edit exists and make pull requests
  • Or just click star button on this page.

Modules creation

1. Create Android library project.

2. Add base library as dependency:

compile 'ru.bartwell:ultradebugger.base:1.2'

3. Create class Module extends BaseModule in package ru.bartwell.ultradebugger.module.xxx, where xxx - your module name.

4. Implement methods in your class:

  • String getName() - return human readable your module name from this method
  • String getDescription() - return description of your module
  • HttpResponse handle(HttpRequest) - handle HTTP requests in this method and return result which will sent into browser.

You can use classes Page, Form, Table, etc. which helps to construct HTML code.

Please feel free to see source code of another modules as example.

TODO

  • More modules: Realm, something else
  • Pagination
  • Design improvement for HTML pages
  • Code quality improvements

License

Copyright © 2017 Artem Bazhanov

Ultra Debugger is provided under an Apache 2.0 License.

Ultra Debugger uses NanoHttpd to serve HTTP requests (NanoHttpd Copyright (c) 2012-2013 by Paul S. Hawke, 2001,2005-2013 by Jarno Elonen, 2010 by Konstantinos Togias All rights reserved).

Versions

Version
1.4.1
1.4
1.3
1.2
1.1
1.0