Go C-spy

Source: Internet
Author: User

1. IAR c-spy Debugger is a high-level language debugger (high-level-language Debugger) applied to the embedded application development environment.

is an overview of C-spy and possible target systems:

2, the debugger c-spy several characteristics:

(1) Editable when debugging (Editing while debugging): can be changed directly during debugging, the change will be valid after the next compilation.

(2) to be able to debug assembly or C language.

(3) Ability to perform software simulations (Simulator).

(4) Capable of hardware emulation (Emulator).

(5) Ability to set breakpoints, to run a single step.

(6) Support a variety of single-step operation mode (such as step in,step over, etc.).

(7) The value of the register can be observed (menu view--register).

(8) Ability to view the value of the memory (menu view--memory).

(9) View variables (menu view--watch).

Specific instructions for article (5): If you find that a program is running incorrectly, you can choose to run it one step at a time. Where step is run, if a single step is a function call, skip the function directly, and step into is run as a function call, and the "Go out" jumps out of the function if it is run in a single step. When you actually debug a program, you can select it as needed.

for article (8), if you want to see the value of an intermediate variable in the program, you need to set this intermediate variable as a global variable, otherwise the variable window will not be visible. With the Watch window, it is easy to see the values of variables or arrays, so that the code in the program can be easily found with incorrect logic.

[Go]c-spy

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.