亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? running.sgml

?? This GLib version 2.16.1. GLib is the low-level core library that forms the basis for projects such
?? SGML
字號:
<refentry id="glib-running" revision="17 Jan 2002"><refmeta><refentrytitle>Running GLib Applications</refentrytitle><manvolnum>3</manvolnum><refmiscinfo>GLib Library</refmiscinfo></refmeta><refnamediv><refname>Running GLib Applications</refname><refpurpose>How to run and debug your GLib application</refpurpose></refnamediv><refsect1><title>Running and debugging GLib Applications</title><refsect2><title>Environment variables</title><para> GLib inspects a few of environment variables in addition to standardvariables like <envar>LANG</envar>, <envar>PATH</envar> or <envar>HOME</envar>. </para><formalpara id="G_FILENAME_ENCODING">  <title><envar>G_FILENAME_ENCODING</envar></title>  <para>    This environment variable can be set to a comma-separated list of character    set names. GLib assumes that filenames are encoded in the first character     set from that list rather than in UTF-8. The special token "@locale" can be    used to specify the character set for the current locale.  </para></formalpara><formalpara id="G_BROKEN_FILENAMES">  <title><envar>G_BROKEN_FILENAMES</envar></title>  <para>    If this environment variable is set, GLib assumes that filenames are in     the locale encoding rather than in UTF-8. G_FILENAME_ENCODING takes    priority over G_BROKEN_FILENAMES.   </para></formalpara><formalpara id="G_MESSAGES_PREFIXED">  <title><envar>G_MESSAGES_PREFIXED</envar></title>  <para>    A list of log levels for which messages should be prefixed by the     program name and PID of the application. The default is to prefix    everything except <literal>G_LOG_LEVEL_MESSAGE</literal> and <literal>G_LOG_LEVEL_INFO</literal>.   </para></formalpara><formalpara id="G_DEBUG">  <title><envar>G_DEBUG</envar></title>  <para>    If GLib has been configured with <option>--enable-debug=yes</option>,    this variable can be set to a list of debug options, which cause GLib    to print out different types of debugging information.    <variablelist>      <varlistentry>        <term>fatal_warnings</term>        <listitem><para>Causes GLib to abort the program at the first call           to <link linkend="g-warning">g_warning</link>() or	   <link linkend="g-critical">g_critical</link>(). This option is            special in that it doesn't require GLib to be configured with            debugging support.</para>        </listitem>      </varlistentry>      <varlistentry>        <term>fatal_criticals</term>        <listitem><para>Causes GLib to abort the program at the first call           to <link linkend="g-critical">g_critical</link>(). This option is            special in that it doesn't require GLib to be configured with            debugging support.</para>        </listitem>      </varlistentry>      <varlistentry>        <term>gc-friendly</term>	<listitem>		<para>		  Newly allocated memory that isn't directly initialized, as well		  as memory being freed will be reset to 0. The point here is to		  allow memory checkers and similar programs that use bohem GC alike		  algorithms to produce more accurate results.		  This option is special in that it doesn't require GLib to be		  configured with debugging support.		</para>        </listitem>      </varlistentry>      <varlistentry>        <term>resident-modules</term>	<listitem>	  <para>	    All modules loaded by GModule will be made resident. This can be useful	    for tracking memory leaks in modules which are later unloaded; but it can	    also hide bugs where code is accessed after the module would have normally	    been unloaded.	    This option is special in that it doesn't require GLib to be 	    configured with debugging support.	  </para>        </listitem>      </varlistentry>      <varlistentry>        <term>bind-now-modules</term>	<listitem>	  <para>	    All modules loaded by GModule will bind their symbols at load time, even	    when the code uses %G_MODULE_BIND_LAZY.	    This option is special in that it doesn't require GLib to be 	    configured with debugging support.	  </para>        </listitem>      </varlistentry>    </variablelist>  </para></formalpara><formalpara id="G_SLICE">	<title><envar>G_SLICE</envar></title>	<para>	  This environment variable allows reconfiguration of the GSlice	  memory allocator.	  <variablelist>	    <varlistentry>	      <term>always-malloc</term>	      <listitem>		<para>		  This will cause all slices allocated through g_slice_alloc() and		  released by g_slice_free1() to be actually allocated via direct		  calls to g_malloc() and g_free().		  This is most useful for memory checkers and similar programs that		  use Bohem GC alike algorithms to produce more accurate results.		  It can also be in conjunction with debugging features of the system's		  malloc implementation such as glibc's MALLOC_CHECK_=2 to debug		  erroneous slice allocation code, allthough <literal>debug-blocks</literal>		  usually is a better suited debugging tool.		</para>	      </listitem>	    </varlistentry>	    <varlistentry>	      <term>debug-blocks</term>	      <listitem>		<para>		  Using this option (present since GLib-2.13) engages extra code		  which performs sanity checks on the released memory slices.		  Invalid slice adresses or slice sizes will be reported and lead to		  a program halt.		  This option should only be used in debugging scenarios, because it		  significantly degrades GSlice performance. Extra per slice memory		  is requied to do the necessary bookeeping, and multi-thread scalability		  is given up to perform global slice validation.		  This option is mostly useful in scenarios where program crashes are encountered		  while GSlice is in use, but crashes cannot be reproduced with G_SLICE=always-malloc.		  A potential cause for such a situation that will be caught by G_SLICE=debug-blocks		  is e.g.:		  <programlisting>		    void *slist = g_slist_alloc(); /* void* gives up type-safety */		    g_list_free (slist);           /* corruption: sizeof (GSList) != sizeof (GList) */		  </programlisting>		</para>	      </listitem>	    </varlistentry>	  </variablelist>	</para></formalpara><formalpara id="G_RANDOM_VERSION">  <title><envar>G_RANDOM_VERSION</envar></title>  <para>    If this environment variable is set to '2.0', the outdated    pseudo-random number seeding and generation algorithms from    GLib-2.0 are used instead of the new better ones. Use the GLib-2.0    algorithms only if you have sequences of numbers generated with    Glib-2.0 that you need to reproduce exactly.    </para></formalpara> <formalpara id="LIBCHARSET_ALIAS_DIR">  <title><envar>LIBCHARSET_ALIAS_DIR</envar></title>  <para>    Allows to specify a nonstandard location for the     <filename>charset.aliases</filename> file that is used by the    character set conversion routines. The default location is the     <replaceable>libdir</replaceable> specified at compilation time.  </para></formalpara> <formalpara id="G_WIN32_PRETEND_WIN9X">  <title><envar>G_WIN32_PRETEND_WIN9X</envar></title>  <para>    Setting this variable to any value forces g_win32_get_windows_version()    to return a version code for Windows 9x. This is mainly an internal     debugging aid for GTK+ and GLib developers, to be able to check the     code paths for Windows 9x.  </para></formalpara> </refsect2><refsect2 id="setlocale"><title>Locale</title><para>A number of interfaces in GLib depend on the current locale in whichan application is running. Therefore, most GLib-using applications shouldcall <function>setlocale (LC_ALL, "")</function> to set up the current locale.</para><para>On Windows, in a C program there are several locale conceptsthat not necessarily are synchronized. On one hand, there is thesystem default ANSI code-page, which determines what encoding is usedfor file names handled by the C library's functions and the Win32API. (We are talking about the "narrow" functions here that takecharacter pointers, not the "wide" ones.)</para><para>On the other hand, there is the C library's current locale. Thecharacter set (code-page) used by that is not necessarily the same asthe system default ANSI code-page. Strings in this character set arereturned by functions like <function>strftime</function>.</para></refsect2><refsect2><title>Traps and traces</title><para><indexterm><primary>g_trap_free_size</primary></indexterm><indexterm><primary>g_trap_realloc_size</primary></indexterm><indexterm><primary>g_trap_malloc_size</primary></indexterm>Some code portions contain trap variables that can be set during debugging time if GLib has been configured with <option>--enable-debug=yes</option>. Such traps lead to immediate code halts to examine the current program state and backtrace.</para><para>Currently, the following trap variables exist:<programlisting>static volatile gulong g_trap_free_size;static volatile gulong g_trap_realloc_size;static volatile gulong g_trap_malloc_size;</programlisting>If set to a size > 0, <link linkend="g-free">g_free</link>(), <link linkend="g-realloc">g_realloc</link>() and <link linkend="g-malloc">g_malloc</link>() will be intercepted if the size matches the size of the corresponding memory block. This will only work with <literal>g_mem_set_vtable (glib_mem_profiler_table)</literal> upon startup though, because memory profiling is required to match on the memory block sizes.</para><para>Note that many modern debuggers support conditional breakpoints, which achievepretty much the same. E.g. in gdb, you can do<programlisting>break g_malloccondition 1 n_bytes == 20</programlisting>to break only on g_malloc() calls where the size of the allocated memory blockis 20. </para></refsect2><refsect2><title>Memory statistics</title><para>g_mem_profile() will output a summary g_malloc() memory usage, if memoryprofiling has been enabled by calling <literal>g_mem_set_vtable (glib_mem_profiler_table)</literal> upon startup.</para><para>If GLib has been configured with <option>--enable-debug=yes</option>,then g_slice_debug_tree_statistics() can be called in a debugger to output details about the memory usage of the slice allocator.</para></refsect2></refsect1></refentry>

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
a4yy欧美一区二区三区| 国产一本一道久久香蕉| 国产精品免费观看视频| 国产精品久久一级| 日韩一区二区三区精品视频| 欧美做爰猛烈大尺度电影无法无天| 国产成人超碰人人澡人人澡| 国产精品亚洲视频| 国产乱妇无码大片在线观看| 国产精品一区二区三区99| 国产精品影视网| 99久久伊人精品| 91免费版在线| 欧美猛男超大videosgay| 8x8x8国产精品| 精品国产乱码久久久久久免费| 日韩欧美另类在线| 久久久久成人黄色影片| 国产精品伦理在线| 欧美午夜理伦三级在线观看| 国产伦精一区二区三区| 欧美视频在线一区| 欧美无砖专区一中文字| 欧美精品一二三四| 久久综合久久综合亚洲| 亚洲欧美怡红院| 亚洲一二三四在线观看| 另类小说综合欧美亚洲| 不卡电影免费在线播放一区| 欧美日韩精品免费| 欧美国产成人在线| 亚洲一区自拍偷拍| 国产一区福利在线| 一本色道综合亚洲| 精品福利一区二区三区| 亚洲欧美电影院| 蜜桃视频一区二区三区| 国产成人午夜电影网| 色国产综合视频| 久久婷婷一区二区三区| 国产精品国产三级国产普通话99| 91精品国产一区二区三区| 久久免费视频一区| 亚洲成人动漫一区| 国产一区二区电影| 色综合欧美在线| 欧美精品一二三| 欧美美女网站色| 国产日韩一级二级三级| 亚洲一级片在线观看| 国产一区二区三区免费| 色综合天天狠狠| 7777女厕盗摄久久久| 一区二区三区四区蜜桃| 国产一区二区三区在线观看免费视频| 成人小视频免费观看| 欧美日韩国产天堂| 欧美国产在线观看| 日韩精品久久久久久| av中文字幕亚洲| 欧美一区二区三区在线看| 中文字幕亚洲成人| 麻豆精品在线视频| av在线播放一区二区三区| 欧美r级在线观看| 亚洲精品免费在线| 国产麻豆精品95视频| 欧美色图12p| 国产欧美精品一区二区色综合| 亚洲一区二区三区影院| 成人污视频在线观看| 日韩欧美在线网站| 亚洲一区二区3| jlzzjlzz国产精品久久| 久久久久综合网| 视频一区免费在线观看| 色综合一区二区| 中文字幕精品三区| 国产在线不卡视频| 日韩精品一区二区三区蜜臀| 亚洲一区二区三区中文字幕在线| av一区二区三区在线| 国产亚洲一区字幕| 国产一区二区三区精品欧美日韩一区二区三区| 91福利在线看| 亚洲美女视频一区| 99在线精品观看| 久久伊人中文字幕| 另类欧美日韩国产在线| 91精品国产色综合久久ai换脸 | 欧美日韩dvd在线观看| 国产精品激情偷乱一区二区∴| 国产风韵犹存在线视精品| 久久久久久久久久久久久女国产乱| 亚洲国产aⅴ天堂久久| 9191成人精品久久| 日产欧产美韩系列久久99| 51精品久久久久久久蜜臀| 日日夜夜免费精品视频| 日韩网站在线看片你懂的| 奇米影视一区二区三区| 欧美电影免费观看高清完整版在线观看| 日韩经典一区二区| 欧美一区二区三区系列电影| 蜜臀国产一区二区三区在线播放| 制服丝袜亚洲网站| 国产综合色产在线精品| 国产日韩欧美综合一区| 91亚洲男人天堂| 亚洲成人综合在线| 欧美日高清视频| 极品少妇xxxx偷拍精品少妇| 久久精品夜夜夜夜久久| 91网站视频在线观看| 亚洲综合偷拍欧美一区色| 欧美一卡在线观看| 国产激情一区二区三区四区| 综合亚洲深深色噜噜狠狠网站| 欧洲人成人精品| 精油按摩中文字幕久久| 国产精品视频一区二区三区不卡| 99久久99久久精品免费观看| 亚洲sss视频在线视频| 精品国产一区二区三区四区四| 国产精品亚洲专一区二区三区| 亚洲你懂的在线视频| 欧美日韩不卡一区二区| 国产一本一道久久香蕉| 亚洲午夜电影在线观看| 国产精品不卡一区| 欧美一区二区三区白人| 成人福利视频网站| 天堂一区二区在线| 中文字幕亚洲在| 日韩精品最新网址| 91福利精品第一导航| 亚洲18女电影在线观看| 亚洲最大的成人av| 国产午夜精品福利| 欧美一区二区视频在线观看2022| 白白色 亚洲乱淫| 免费高清视频精品| 亚洲综合色区另类av| 久久精品亚洲一区二区三区浴池| 欧美日韩精品一区二区三区| 婷婷开心激情综合| 日韩影院免费视频| 亚洲色图视频免费播放| 精品国产乱码久久久久久牛牛| 精品视频在线免费看| 99久久精品国产毛片| 韩国理伦片一区二区三区在线播放 | 亚洲欧美电影院| 久久久国际精品| 精品欧美一区二区三区精品久久 | 在线观看区一区二| www.亚洲人| 国产成人免费视频网站| 久热成人在线视频| 日韩国产精品久久| 亚洲一区免费观看| 精品国产a毛片| 中文字幕乱码久久午夜不卡| 久久人人爽人人爽| 精品久久久久久久久久久久久久久| 精品视频免费在线| 欧美综合亚洲图片综合区| 色呦呦网站一区| 91亚洲大成网污www| 成人精品免费看| 97se亚洲国产综合自在线不卡 | 国内成+人亚洲+欧美+综合在线| 日韩电影在线观看一区| 亚洲1区2区3区4区| 一区二区在线看| 免费成人深夜小野草| 麻豆精品新av中文字幕| 久久精工是国产品牌吗| 久久精品国产精品亚洲精品| 久久电影国产免费久久电影| 久久精品国产精品青草| 五月婷婷色综合| 麻豆精品在线视频| 国产激情一区二区三区四区| 成人综合婷婷国产精品久久| 成人免费看黄yyy456| 91丨porny丨中文| 在线免费观看日本欧美| 欧美日韩国产免费| 成人91在线观看| 日韩一区二区三区免费看 | 成人性视频免费网站| 99视频精品免费视频| 欧美影视一区二区三区| 91麻豆精品国产自产在线| 久久亚区不卡日本| 中文字幕在线不卡一区| 美国欧美日韩国产在线播放 | 国产精品热久久久久夜色精品三区 | 亚洲www啪成人一区二区麻豆|