文章目录
- 1. Break.Set
-
- 1.1 TRACE32 Break
-
- 1.2 Break.Set 设置断点
-
- 1.2.1 Trace32 程序断点
- 1.2.2 读写断点
-
- 1.2.2.1 变量被改写为特定值触发halt
- 1.2.2.2 设定非值触发halt
- 1.2.2.4 变量被特定函数改写触发halt
- 1.2.3 使用C/C++语法设置断点条件
- 1.2.4 使用TRACE32 语法设置断点条件
- 1.2.5 设置循环计数(Count)条件
- 1.2.6 Break.Program 实现复杂断点的编程
- 1.3 Break.List 显示所有断点
- 注意事项
1. Break.Set
Format: Break.Set [<address>|<range>] [/<breaktype> …]] [/<impl>]
<impl>: SOFT | Onchip
<breaktype>: Program | ReadWrite | Read | Write
Onchip | HARD | SOFT
ProgramPass | ProgramFail
MemoryReadWrite | MemoryRead | MemoryWrite
RegisterReadWrite | RegisterRead | RegisterWrite
VarReadWrite | VarRead | VarWrite
DATA[.Byte | .Word | .Long] <value> …
Alpha | Beta | Charly | Delta | Echo
WATCH | BusTrigger | BusCount
TraceEnable | TraceData | TraceON | TraceOFF | TraceTrigger
Spot
DISable | DISableHIT | DeleteHIT