【问题标题】:CodeLLDB and VSCode - How to print an arrayCodeLLDB 和 VSCode - 如何打印数组
【发布时间】:2022-12-02 05:42:32
【问题描述】:

Using the CodeLLDB extension, I\'m successfully debugging my C projects with lldb in VSCode.

The problem is that I cannot use lldb commands in the VSCode watch window.
For example, I\'m trying to print the first 10 items in an array using parray <COUNT> <EXPRESSION>.
This is what I obtain:

Is there a way to manipulate data using lldb?

For reference, with GDB you can do *myarr@10 in VSCode.

    标签: c visual-studio-code debugging lldb


    【解决方案1】:
    猜你喜欢
    • 1970-01-01
    • 2016-08-24
    • 2015-09-13
    • 1970-01-01
    • 2018-07-06
    • 2012-04-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多