Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Integrated source-code-free debugging method based on Android operating system

An Android operating system and debugging method technology, applied in software testing/debugging, software deployment, instruments, etc., can solve problems such as low debugging efficiency, inability to interact with multiple windows, and no graphical interface

Pending Publication Date: 2022-02-25
广州链安科技有限公司
View PDF0 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Existing technical solutions not only require the debugger to do various preparations in advance, but also there is no graphical interface in the debugging process, and each debugging operation requires the debugger to directly input the corresponding debugging command in the terminal, and the debugging output can only be Displayed on the terminal, multi-window interaction is not possible, and various factors lead to low debugging efficiency

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Integrated source-code-free debugging method based on Android operating system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment

[0021] Android (Android) is one of the mainstream mobile operating systems today. Android Debug Bridge (ADB) is the most commonly used debugging suite in the Android operating system. It provides various practical functions such as software installation and uninstallation, shell operations, and port forwarding. Function, the bytecode named Dalvik supported by Android refers to the bytecode of the Java Virtual Machine (JVM), and changes the stack machine structure into a register-based instruction set. Therefore, Dalvik and JVM are in many places There is something in common. The Java Debug Wire Protocol (JDWP), the debugging protocol used by the Java virtual machine, is also adopted by Android. Even with the development of Android, the Dalvik virtual machine is replaced by the Android runtime (ART). Dalvik is a set of The instruction set still supports every Android program, and JDWP has never left the stage.

[0022] An integrated source-code-free debugging method based on an...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses an integrated source-code-free debugging method based on an Android operating system. The integrated source-code-free debugging method comprises the following steps: 1) intelligently installing and updating a to-be-debugged program; 2) activating a debugging mode; the method comprises the following steps: directly modifying an environment variable ro.debugable in a system, and turning on a debugging switch at a system level; 3) starting and configuring a program to be debugged; 4) variable type recognition; 5) source code level debugging based on decompilation; according to the method, a whole set of automatic debugging process is provided, an ADB serves as a medium, software installation, debugging mode activation, starting and adding to a to-be-debugged program, breakpoint setting, breakpoint variable recognition and the like are fully automatically achieved under the condition that only a software package exists and no software source code exists. In the manual debugging process, the method also has the functions of supporting breakpoint code execution, rewriting variable content and the like.

Description

technical field [0001] The invention relates to an integrated source code-free debugging method based on an Android operating system. Background technique [0002] Since the advent of Android in 2008, its market share has been steadily increasing, which directly led to the withdrawal of mobile operating systems such as Symbian and Windows Phone from the stage of history. However, such a mainstream mobile operating system has not had a relatively easy-to-use debugging tool for Android programs for many years. At present, the field of Android free source code debugging is still in a relatively primitive state. From a mobile phone, a computer, to being able to actually start debugging, there are various tedious steps in the middle. From the ADB connection, to the opening of the debugging port, the startup of the debugging mode, the installation of the program to be debugged, etc., every step consumes the debugger's energy and time. Even if the debugging is officially started...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): G06F11/36G06F8/61G06F8/65
CPCG06F11/3636G06F8/61G06F8/65
Inventor 钱科铭
Owner 广州链安科技有限公司
Features
  • Generate Ideas
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More