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
CN109726129AActive Publication Date: 2019-05-07BEIJING XIAOMI MOBILE SOFTWARE CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
BEIJING XIAOMI MOBILE SOFTWARE CO LTD
Publication Date
2019-05-07

Smart Images

  • Figure 1
    Figure 1
  • Figure 2
    Figure 2
  • Figure 3
    Figure 3
Patent Text Reader

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.
Need to check novelty before this filing date? Find Prior Art

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