【问题标题】:Show std:string content in Eclipse在 Eclipse 中显示 std:string 内容
【发布时间】:2018-09-04 10:12:37
【问题描述】:

为了在 Eclipse 中查看 std::string 内容,我必须每次打开 _M_dataplus。是否可以将 Eclipse 配置为当鼠标悬停在其上时始终显示字符串内容而无需额外操作?

【问题讨论】:

    标签: eclipse eclipse-cdt


    【解决方案1】:

    您可以通过 Java/Debug/Detail Formatters 首选项页面在 Eclipse 中添加应用详细格式化程序。您将仅在调试模式下看到您的自定义输出,因此您必须设置一个断点,不能“未经操作”,抱歉。 请看这个:Debugging Tips - Human Readable Objects Section

    【讨论】:

    • std::string 是 C++,不是 Java
    猜你喜欢
    • 2015-03-07
    • 1970-01-01
    • 2013-03-02
    • 2021-02-05
    • 1970-01-01
    • 1970-01-01
    • 2019-05-07
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多