CodeLite, an open source, cross platform C/C++ IDE | LiteEditor / GdbPrettyPrinting

  1. Home
  2. map design tutorials
  3. CodeLite, an open source, cross platform C/C++ IDE | LiteEditor / GdbPrettyPrinting

Replace the placeholder PATH_TO_CODELITE_SETTINGS_FOLDER with the absolute path. Do not use environment variables etc GDB pretty printing is a gdb feature that allows gdb to display complex objects (and other containers) in a more friendly way. For example, when gdb pretty printing is disabled, viewing an STL map is pretty much useless. Consider the following code: typedef std::map&lt,std::string, int&gt, StringToIntMap_t, … StringToIntMap_t mymap, mymap.insert( std::make_pair(‘String One’, 1) ), mymap.insert( std::make_pair(‘String Two’, 2) ), mymap.insert( std::make_pair(‘String Three’, 3) ), python import sys sys.path.insert(0, ‘PATH_TO_CODELITE_SETTINGS_FOLDER/gdb_printers’) from libstdcxx.v6.printers import register_libstdcxx_printers register_libstdcxx_printers (None) from qt4 import register_qt4_printers register_qt4_printers (None) from wx import register_wx_printers register_wx_printers (None) end Source.

Menu
whatsapp button