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)

…

本站文档由 北京智网畅联科技有限公司 整理、翻译并提供 · Documentation compiled and provided by Beijing ZNetLink Technology Co., Ltd.

交流群 · QQ Group:OPNET/智网妙算网络仿真交流群(群号 486383494)

原文档 © 2017 Riverbed Technology · 本站为公益翻译,由 AI 辅助完成,请仔细甄别

Original documentation © 2017 Riverbed Technology. Community translation, AI-assisted. Contact: jiazequn@znetlink.com