简体   繁体   English

用于STL容器的C ++ IDE

[英]C++ IDE for STL containers

What C++ IDE natively support STL containers view in debug mode? 哪种C ++ IDE本地支持在调试模式下查看STL容器?

One IDE is Visual Studio, but I'm looking to move from it and would like to have STL containers in debug mode. 一个IDE是Visual Studio,但我希望从中移出,并希望STL容器处于调试模式。 Specifically looking now for Windows IDEs, other OS IDEs welcome. 现在专门寻找Windows IDE,欢迎其他OS IDE。

Eclipse! 日食!

"CDT debug now supports full pretty-printing of STL structures using GDB 7.0 or later. This means that complex structures such as Maps, Lists and Vectors, will be shown in a user-friendly fashion." “ CDT调试现在支持使用GDB 7.0或更高版本对STL结构进行完整的漂亮打印。这意味着将以用户友好的方式显示诸如Maps,Lists和Vectors之类的复杂结构。” ( source ) 来源

(CDT is Eclipse's C/C++ Development Tooling) (CDT是Eclipse的C / C ++开发工具)

Microsoft Visual Studio supports the ability to write custom debug inspector scripts for exactly this situation. Microsoft Visual Studio支持针对这种情况编写自定义调试检查器脚本的功能。 You can write a script that tells the debugger exactly how to evaluate and display the STL containers (or any other complex type) you want to view. 您可以编写一个脚本,该脚本告诉调试器确切如何评估和显示要查看的STL容器(或任何其他复杂类型)的信息。

Recent versions of Embarcadero C++Builder (and Delphi) also now support the ability to write custom inspectors for complex types, using compiled code instead of scripts. Embarcadero C ++ Builder(和Delphi)的最新版本现在还支持使用编译的代码而不是脚本编写用于复杂类型的自定义检查器的功能。

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

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