GithubHelp home page GithubHelp logo

sumnerevans / wireless-debugging Goto Github PK

View Code? Open in Web Editor NEW
6.0 7.0 2.0 80.42 MB

Mobile SDK and sample web server for streaming mobile app logs to a web UI console.

Home Page: http://sumnerevans.github.io/wireless-debugging/

License: Apache License 2.0

Ruby 0.36% Python 32.38% JavaScript 6.63% CSS 11.55% HTML 2.70% Java 11.74% Swift 34.64%
wireless-debugging debugging android ios logging

wireless-debugging's Introduction

Wireless Debugging

Build Status codecov

This is a student project by CS students at Colorado School of Mines. The goal of this project is to build a mobile SDK and sample web server to allow mobile app log streaming to a web UI console.

This project was done under supervision of Google and was sponsored by the Colorado School of Mines for the CSCI-370 course.

Getting Started

Head over to our GitHub Pages site or jump straight to the Getting Started guide.

Contributors

  • Jonathan Sumner Evans
  • Amanda Giles
  • Reece Hughes
  • Daichi Jameson
  • Tiffany Kalin
  • Chris Navrides

wireless-debugging's People

Contributors

amanda-e-giles avatar cnavrides avatar sumnerevans avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

wireless-debugging's Issues

Fix CSS on GitHub Pages

The CSS links are broken on GitHub Pages. It is looking for https://sumnerevans.github.io/stylesheets/... rather than https://sumnerevans.github.io/wireless-debugging/stylesheets/....

(I'm thinking I broke this after I switched away from using GitHub Pages to host my personal site.)

Evaluate server error handling

Evaluate the way that the server handles errors and make it nicer.

Ideas

  • Use .get instead of key access to eliminate most KeyErrors?

Whitespace not preserved on multiline logs

Steps to reproduce

  1. From Android, press the Crash App button.

Current behaviour

The crash log is shown, but the newlines and tabs are not preserved.

Expected behaviour

It should render the newlines and tabs just like in Android Studio.

Log Datatable Doesn't Add Multiple Rows

When appending onto the HTML table the this.dataTable_.row.add($(messageData.logEntries)).draw(); line will add only one table to the row. If multiple rows are in the same logEntries message only the first gets added.

One way to fix it is have the logEntries sent over as an array of strings, rather than just a string, and looping through the array, adding each string (row) to the table.

Shrink the textbox after upload logs

The log textbox takes up a lot of room after the logs have been submitted. It would be good if it shrunk after logs were successfully uploaded and processed. Then, when the user clicks on it, it could re-expand.

Parsing Library - Same Timestamp

The parser will group together logs with the same timestamp. This is good for exceptions/crashes but breaks when different logs are sent within the same millisecond (which happens a lot).

An easy way to fix it is just have the parser send one line per line received (this will not group exceptions/crashes anymore though).

Another way would be to perform more checks on the input to see if it is part of a exception/crash or not.

Make the server log a bit more

It doesn't show anything when the server starts successfully, for example.

Todo

  • Convert to use a logging library (probably the builtin logging library).
  • Allow verbosity flags to be passed in that control how much logging occurs.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.