Code segment operation method and device, terminal and storage medium

A technology of running method and code segment, applied in software testing/debugging, etc., can solve problems such as low debugging efficiency

Active Publication Date: 2019-05-07
BEIJING XIAOMI MOBILE SOFTWARE CO LTD
View PDF12 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The present disclosure provides a code segment running method, device, terminal, and storage medium, which can overcome the need to modify the code segment in the related art, modify the code segment on the first terminal, and then check the running result on the second terminal again, resulting in For the problem of low debugging efficiency, the technical solution is as follows:

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
  • Code segment operation method and device, terminal and storage medium
  • Code segment operation method and device, terminal and storage medium
  • Code segment operation method and device, terminal and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0112] The following will clearly and completely describe the technical solutions in the embodiments of the present disclosure with reference to the accompanying drawings in the embodiments of the present disclosure. Apparently, the described embodiments are part of the embodiments of the present disclosure, not all of them. Based on the embodiments in the present disclosure, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present disclosure.

[0113] In order to make the purpose, technical solution and advantages of the present disclosure clearer, the implementation manners of the present disclosure will be further described in detail below in conjunction with the accompanying drawings.

[0114] Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying dra...

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 relates to a code segment operation method and device, a terminal and a storage medium, and belongs to the technical field of computers. The method comprises the following steps: when acode segment runs in a second terminal, a second debugging service port of a dual-connection communication protocol web socket debugging service of the second terminal and a first debugging service port of a web socket debugging service of a first terminal are determined; The first terminal and the second terminal establish a web socket debugging connection according to the second debugging service port and the first debugging service port; And the first terminal and the second terminal transmit the operation state information of the operation code segment of the second terminal through the web socket debugging connection. Therefore, the technician can check the operation state information of the code segment while writing the code at the first terminal, the technician is prevented from checking the first terminal and the second terminal repeatedly, and the efficiency of debugging the code segment is improved.

Description

technical field [0001] The present disclosure relates to the technical field of computers, and specifically relates to a code segment running method, device, terminal and storage medium. Background technique [0002] With the rapid development of computer technology, the functions of application programs are gradually increasing, and the scale is gradually expanding. Application program testing has become an indispensable step to verify the quality of application programs. After the technician develops the code segment of the application program, he usually needs to run the code segment to obtain the running result, so as to optimize and improve the code segment according to the running result. [0003] The technician develops the first code segment of the application program through the first terminal, and stores the first code segment in the first terminal. When the technician wants to test the first code segment, the first terminal establishes a communication connection ...

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
Patent Type & Authority Applications(China)
IPC IPC(8): G06F11/36
Inventor 董永清
Owner BEIJING XIAOMI MOBILE SOFTWARE CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products