简体   繁体   English

LLDB 是否有便利变量 ($var)?

[英]Does LLDB have convenience variables ($var)?

Does LLDB have convenience variables ? LLDB 是否有 便利变量 If so, how do I use them?如果是这样,我该如何使用它们? If not, is there anything similar that I can use?如果没有,我可以使用类似的东西吗?

Reference: http://software.intel.com/sites/products/documentation/hpc/atom/application/debugger/commands143.html参考: http://software.intel.com/sites/products/documentation/hpc/atom/application/debugger/commands143.html

Does LLDB have convenience variables ? LLDB 有 便利变量吗? If so, how do I use them?如果是这样,我该如何使用它们? If not, is there anything similar that I can use?如果没有,我可以使用类似的东西吗?

Reference: http://software.intel.com/sites/products/documentation/hpc/atom/application/debugger/commands143.html参考: http : //software.intel.com/sites/products/documentation/hpc/atom/application/debugger/commands143.html

Does LLDB have convenience variables ? LLDB 有 便利变量吗? If so, how do I use them?如果是这样,我该如何使用它们? If not, is there anything similar that I can use?如果没有,我可以使用类似的东西吗?

Reference: http://software.intel.com/sites/products/documentation/hpc/atom/application/debugger/commands143.html参考: http : //software.intel.com/sites/products/documentation/hpc/atom/application/debugger/commands143.html

Does LLDB have convenience variables ? LLDB 有 便利变量吗? If so, how do I use them?如果是这样,我该如何使用它们? If not, is there anything similar that I can use?如果没有,我可以使用类似的东西吗?

Reference: http://software.intel.com/sites/products/documentation/hpc/atom/application/debugger/commands143.html参考: http : //software.intel.com/sites/products/documentation/hpc/atom/application/debugger/commands143.html

For swift version适用于 swift 版本

e let $data = Data()
po $data

output: output:

▿ 0 bytes
  - count : 0
  ▿ pointer : 0x000000016d36d9d0
    - pointerValue : 6127278544
  - bytes : 0 elements

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM