ptrtrace
摘要
控制跟踪记录如何显示指针。
语法
ptrtrace
| 参数 | 类型 | 说明 |
|---|---|---|
| 无参数 |
详细说明
由于指针值通常在两次运行之间会发生变化,在跟踪记录中显示完整的指针值可能使两次跟踪记录的比较变得困难。该命令允许你屏蔽实际的指针值以便更容易比较,它在两种指针显示模式之间切换:
- 完整指针值
<NIL>或<non-NIL>
示例
ODB> ptrtrace
Pointer trace is now fully enabled
…
| | | +- op_prg_list_insert_sorted (list_ptr, elem_ptr, compare_proc)
| | | | list address (0x813ad44)
| | | | element addr. (0x8155340)
| | | | compare proc (0xf5c4b89e)
…
ODB> ptrtrace
Pointer trace is now restricted to NIL and non-NIL outputs
…
| | | +- op_prg_list_insert_sorted (list_ptr, elem_ptr, compare_proc)
| | | | list address (non-NIL)
| | | | element addr. (non-NIL)
| | | | compare proc (non-NIL)
…