Application program debugging method under embedded multi-core environment

An application program and embedded technology, which is applied in the field of application program debugging in an embedded multi-core environment, can solve problems such as not being independent from the operating system, not having comprehensive functions, and not being suitable for debugging more than two cores.

Inactive Publication Date: 2014-04-16
HUAZHONG UNIV OF SCI & TECH +1
View PDF4 Cites 47 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0038] The invention provides a debugging method for an application program in an embedded multi-core environment, which solves the problems that the existing debugging method for an embedded multi-core system cannot be independ

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
  • Application program debugging method under embedded multi-core environment
  • Application program debugging method under embedded multi-core environment
  • Application program debugging method under embedded multi-core environment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0146] The present invention will be further described below in conjunction with the accompanying drawings and embodiments.

[0147] Such as figure 1 As shown, the present invention includes the steps of establishing a remote connection, sending a debugging command step, analyzing a debugging command step, thread core binding step, inserting a breakpoint step, querying a breakpoint step, deleting a breakpoint step, single-step execution step, and continuous execution step , Execute to the end step, view variable step, view thread running core step, get core running thread step and count thread running time step.

[0148] figure 2 Schematic diagram of the steps for sending debugging commands;

[0149] image 3 It is a schematic diagram of a single-step execution process;

[0150] Figure 4 Schematic diagram of the flow of steps for continuous execution;

[0151] Figure 5 It is a schematic diagram of the process flow from execution to completion.

[0152] Embodiments o...

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 application program debugging method under an embedded multi-core environment, and belongs to application program debugging methods. The application program debugging method solves the problems that an existing debugging method cannot be independent from an operation system, is not applicable to debugging when more than two cores exist and is not comprehensive enough in function. The application program debugging method under the embedded multi-core environment comprises the steps of remote connection establishing, debugging instruction sending, debugging instruction analyzing, thread core binding, breakpoint inserting, breakpoint inquiring, breakpoint deleting, single-step executing, continuous execution, execution until ending, variable checking, thread operation core checking, core operation thread obtaining and thread operation time counting. The application program debugging method under the embedded multi-core environment can be independent from the operation system and an embedded development tool to conduct debugging on application programs and is comprehensive in debugging function, a debugger at the end of a host machine can know about the basic conditions of application program running and more accurately locate various abnormal conditions of application program running, and the application program debugging efficiency is improved.

Description

technical field [0001] The invention belongs to a method for debugging an application program of a computer, and in particular relates to a method for debugging an application program in an embedded multi-core environment. Background technique [0002] With the expansion of application requirements and the continuous advancement of technology, it is becoming more and more difficult to improve the performance of single-core processors. It is difficult for single-core embedded architectures to meet the corresponding processing requirements. Multi-core technology is an inevitable trend in the development of processors and is widely used in automobiles. , communications, information appliances, medical, military and other industries of intelligent equipment. Multi-core technology brings higher processor performance, higher power utilization efficiency and smaller physical memory volume for embedded devices, but also significantly increases the complexity of embedded systems. In...

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/36
Inventor 李国徽欧阳峥峥黄瑛曹粟马艳万伟杨顺华
Owner HUAZHONG UNIV OF SCI & TECH
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