[转]C-SPY

1、IAR C-SPY Debugger是应用于嵌入式应用程序开发环境的高级语言调试器(high-level-language debugger)。

下图是C-SPY和可能使用的目标系统概述:

2、调试器C-SPY的几点特性:

(1)调试时可编辑(Editing while debugging):调试过程中可直接更改,更改会在下次编译后有效。

(2)能够对汇编语言或者C语言进行调试。

(3)能够进行软件仿真(Simulator)。

(4)能够进行硬件仿真(Emulator)。

(5)能够设置断点,进行单步运行。

(6)支持多种单步运行方式(如Step in,Step over等)。

(7)可以观察寄存器的值(菜单View--Register)。

(8)能够查看内存的值(菜单View--Memory)。

(9)查看变量(菜单View--Watch)。

对第(5)条具体说明:如果发现某段程序运行结果不正确,可以选择单步运行。其中“Step”单步运行时,如果单步运行的是函数调用,则直接跳过函数;“Step Into”单步运行时,如果单步运行的是函数调用,则运行到函数里;“Go Out”则从函数里跳出。在实际调试程序时,可根据需要来选择。

对第(8)条,如果想看程序中某个中间变量的值,则需要将此中间变量设为全局变量,否则在变量窗口是看不到的。通过Watch窗口,可以很方便的查看变量或者数组的值,这样程序中逻辑不正确的程序代码就可以很容易找到。

时间: 2024-10-11 13:53:18

[转]C-SPY的相关文章

SPY

The National Intelligence Council of X Nation receives a piece of credible information that Nation Y will send spies to steal Nation X's confidential paper. So the commander of The National Intelligence Council take measures immediately, he will inve

hdu 4274 Spy's Work(水题)

Spy's Work Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 1266    Accepted Submission(s): 388 Problem Description I'm a manager of a large trading company, called ACM, and responsible for the

A Spy in the Metro

Description Secret agent Maria was sent to Algorithms City to carry out an especially dangerous mission. After several thrilling events we find her in the first station of Algorithms City Metro, examining the time table. The Algorithms City Metro con

UVa 1025 A Spy in the Metro(动态规划)

传送门 Description Secret agent Maria was sent to Algorithms City to carry out an especially dangerous mission. After several thrilling events we find her in the first station of Algorithms City Metro, examining the time table. The Algorithms City Metro

我翻译的第一本英文书《SPY Academy》

我翻译的第一本英文书<SPY Academy>...... 忘记了哪一天,下班回家走进小区的路上,见到了一本“小脏书”.这书不厚,全英文,四下没人就捡了起来.拂去了封面上的脚印,抖落了夹带的小石子.心想哪家掉的?还是抛弃了的?随便翻了几页后我就到家了. 2016年6月1日,因为想学英语,又苦于没有什么兴趣点,就找来这本“小脏书”翻译了起来.这也是我拾起了它的主要原因! 这本书的作者名叫Tracey West,美国儿童畅销书作家.之前没听说过,百度说她写过一本叫<海绵宝宝>的书...

NBUT 1220 SPY

[1220] SPY 时间限制: 1000 ms 内存限制: 131072 K 问题描述 The National Intelligence Council of X Nation receives a piece of credible information that Nation Y will send spies to steal Nation X'sconfidential paper. So the commander of The National Intelligence Cou

sgu 321 The Spy Network (dfs+贪心)

321. The Spy Network Time limit per test: 0.5 second(s)Memory limit: 65536 kilobytes input: standardoutput: standard The network of spies consists of N intelligence officers. They are numbered with the code numbers from 1 to N so that nobody could di

SGU - 321 - The Spy Network

先上题目: 321. The Spy Network Time limit per test: 0.5 second(s)Memory limit: 65536 kilobytes input: standardoutput: standard The network of spies consists of N intelligence officers. They are numbered with the code numbers from 1 to N so that nobody co

UVA 1025 A Spy in the Metro

A Spy in the Metro #include <iostream> #include <cstdio> #include <cstring> using namespace std; int INF=0x3f3f3f3f; int kase=0; int main() { int n; while(scanf("%d",&n)&&n!=0) { int T,M1,M2,time[n+1]; scanf("%

用@spy模拟真实对象的部分行为

1.说明在某些情况下,我们需要使用一个真实对象.但是,我们同时需要自定义该对象的部分行 为,此时用@spy 就可以帮我们达到这个目的. 2.用法: categoryService = PowerMockito.spy(categoryService); categoryService = Mockito.spy(CategoryService.class); Foo mock = mock(Foo.class); //Be sure the real implementation is 'saf