太古の昔から、Visual StudioにはC ++型のビジュアライザーを作成する機能がありました。これにより、デバッガー内の変数の内容(変数の自動、監視、ローカル、ツールチップなど)を表示するウィンドウでの型の表示方法を変更できます。 Visual Studio 2012では、Visual Studioの拡張機能で新しいnatvis形式のビジュアライザーを拡張する機能が導入されました。
Boostの古い
ビジュアライザーと
TinyXMLの古い
ビジュア ライザーが変換され 、Boost、wxWidgets、TinyXML2の新しいビジュアライザーも追加されました。 結果はVisual Studio 2012-
C ++ Debugger Visualizersの拡張機能でした
サポートされているタイプのリスト:
- Boostライブラリ
- boost :: shared_ptr、boost :: weak_ptr、boost :: intrusive_ptr、boost :: shared_array、boost :: scoped_ptr、boost :: scoped_array
- boost :: ptr_array、boost :: ptr_vector、boost :: ptr_list、boost :: ptr_deque、boost :: ptr_map、boost :: ptr_set、boost :: ptr_multimap、boost :: ptr_multiset
- boost ::配列、boost :: dynamic_bitset、boost :: circular_buffer
- boost :: unordered_map、boost :: unordered_set、boost :: unordered_multimap、boost :: unordered_multiset
- boost ::コンテナ:: basic_string、boost ::コンテナ:: deque、boost ::コンテナ::ベクトル
- boost ::オプション、boost :: any、boost :: variant
- boost ::ファイルシステム::パス、boost ::ファイルシステム:: directory_entry、boost ::ファイルシステム:: file_status
- boost :: posix_time :: ptime、boost :: posix_time :: time_duration
- ブースト::正規表現
- ブースト::インタープロセス:: offset_ptr
- ブースト:: tribool
- ブースト:: unique_lock
- boost :: uuids :: uuid
- wxWidgetsライブラリ:wxPoint、wxSize、wxRect、wxDateTime、wxLongLong、wxString、wxArrayString、wxDir、wxFileName
- TinyXMLライブラリ:TiXmlNode、TiXmlElement、TiXmlAttribute
- TinyXML2ライブラリ:XMLNode、XMLElement、XMLAttribute
- DirectXのHRESULT
関連リンク:
PS難しくない場合は、
Visual Studio Galleryの Webサイトで拡張のためのレビューを残してください