DEBUGGING METHOD, MULTI-CORE PROCESSOR, AND DEBUGGING DEVICE

    公开(公告)号:US20180217915A1

    公开(公告)日:2018-08-02

    申请号:US15936030

    申请日:2018-03-26

    CPC classification number: G06F11/362 G06F9/445 G06F9/48 G06F11/36 G06F11/3656

    Abstract: Embodiments of the present invention relate to the field of computer technologies. The embodiments of the present invention provide a debugging method, including: stopping running, by a core A of the multi-core processor, and sending a running stop signal to other cores in a process of stopping running; after receiving a first stop termination instruction and resuming running, executing a debugging information collection function and stopping running after completing the execution of the debugging information collection function; after receiving a second stop termination instruction and resuming running, sending a running resumption instruction to the other cores; and knocking the pending breakpoint in a process of running an operation object of the preset event, so as to enter a debugging state. According to the technical solutions provided in the embodiments of the present invention, kernel mode code and user mode code can be debugged on a same debugging platform.

    Debugging method, multi-core processor and debugging device

    公开(公告)号:US10409709B2

    公开(公告)日:2019-09-10

    申请号:US15934329

    申请日:2018-03-23

    Abstract: Embodiments of the present invention relate to the field of computer technologies. The embodiments of the present invention provide a debugging method, including: starting, by a core A of a multi-core processor after completing execution of a preset event processing routine, to stop running, and sending a running stop signal to other cores in a process of stopping running; after receiving a first stop termination instruction and resuming running, executing a debugging information collection function to collect debugging information of the preset event, and stopping running after completing the execution of the debugging information collection function; and after receiving a second stop termination instruction and resuming running, sending a running resumption instruction to the other cores. By means of the technical solutions provided in the embodiments of the present invention, kernel mode code and user mode code can be masked on a same debugging platform.

    DEBUGGING METHOD, MULTI-CORE PROCESSOR AND DEBUGGING DEVICE

    公开(公告)号:US20180210811A1

    公开(公告)日:2018-07-26

    申请号:US15934329

    申请日:2018-03-23

    Abstract: Embodiments of the present invention relate to the field of computer technologies. The embodiments of the present invention provide a debugging method, including: starting, by a core A of a multi-core processor after completing execution of a preset event processing routine, to stop running, and sending a running stop signal to other cores in a process of stopping running; after receiving a first stop termination instruction and resuming running, executing a debugging information collection function to collect debugging information of the preset event, and stopping running after completing the execution of the debugging information collection function; and after receiving a second stop termination instruction and resuming running, sending a running resumption instruction to the other cores. By means of the technical solutions provided in the embodiments of the present invention, kernel mode code and user mode code can be masked on a same debugging platform.

Patent Agency Ranking