⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 debugging.txt

📁 gtk是linux一款强大的夸平台的图形化开发工具
💻 TXT
字号:
The GLIB, GDK, and GTK libraries have extensive support fordebugging the library and your programs.The amount of debugging being done can be determined bothat run time and compile time.COMPILE TIME OPTIONS--------------------At compile time, the amount of debugging support included isdetermined by four macros:G_ENABLE_DEBUG  If set, enable support for runtime checking.G_DISABLE_ASSERT  If set, disable g_assert macrosG_DISABLE_CHECKS  If set, disable the g_return_if_fail and g_return_val_if_fail macrosGTK_NO_CHECK_CASTS  If set, don't check casts between different object typesWhether these macros are defined is controlled at configurationtime by the --enable-debug option.--enable-debug=minimum [default]  Enable only inexpensive sanity checking     sets GTK_NO_CHECK_CASTS--enable-debug=yes  Enable all debugging support    sets G_ENABLE_DEBUG--enable-debug=no (or --disable-debug)  Disable all debugging support (fastest)    sets G_DISABLE_ASSERT, G_DISABLE_CHECKS, and GTK_NO_CHECK_CASTSRUN TIME OPTIONS----------------At run time, if GTK+ was compiled with debugging enabled, differenttypes of debugging information can be printed out. This is controlledby the:   GTK_DEBUG and GDK_DEBUG environment variables  --gtk-debug and --gdk-debug command line options  --gtk-no-debug and --gdk-no-debug command line optionsFirst the environment variables are applied, then the command lineoptions are applied in the order given on the command line.Each of these can either be the special value 'all', or a sequence of':' separated options. (case is ignored). The environment variablesand the --gtk-debug and --gdk-debug options add debugging options andthe --gtk-no-debug and --gdk-no-debug options remove them.As noted below, some of these are useful in application debugging, butmost are only interested to those debugging the librariesFor instance:  GDK_DEBUG_FLAGS=misc:dnd testgtk --gdk-no-debug dnd --gdk-debug eventsruns testgtk with the 'misc' and 'events' debugging options. GTK_DEBUG --------- Application relevant options: 'objects' - Trace the creation and destruction of objects, print             out a summary at program termination Options only interesting to library maintainers: GDK_DEBUG --------- Application relevant options: 'events' - Show all events received by GTK Options only interesting to library maintainers: 'misc'          - Miscellaneous information 'dnd'           - Information about drag-and-drop 'color-context' - Information about the internal workings of                    GdkColorContext 'xim'           - Information about X Input Method support                                    - Owen Taylor <owt1@cornell.edu>                                      98/02/19

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -