在Eclipse中显示std:字符串内容

时间:2018-03-26 09:50:50

标签: eclipse eclipse-cdt

为了在Eclipse中查看std::string内容,我每次都必须打开_M_dataplus。是否有可能以一种方式配置Eclipse,以便在鼠标位于其上时始终显示字符串的内容而无需额外操作?

enter image description here

1 个答案:

答案 0 :(得分:-1)

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

相关问题