Replace --debugmsg with WINEDEBUG.

This commit is contained in:
Ivan Leo Murray-Smith 2004-04-20 20:16:54 +00:00 committed by Alexandre Julliard
parent 552dae7bf9
commit ec2d618c07
5 changed files with 22 additions and 22 deletions

View file

@ -662,8 +662,8 @@
are all optional and you probably don't need to add or are all optional and you probably don't need to add or
remove anything in this section to your config.</emphasis> (In extreme remove anything in this section to your config.</emphasis> (In extreme
cases you may want to use these options to manage the amount cases you may want to use these options to manage the amount
of information generated by the <parameter>--debugmsg +relay of information generated by <parameter>WINEDEBUG=+relay
</parameter> option.) </parameter> )
</para> </para>
<para> <para>
<programlisting>"File" = "/blanco"</programlisting> <programlisting>"File" = "/blanco"</programlisting>
@ -683,13 +683,13 @@
<para> <para>
<programlisting>"RelayInclude" = "user32.CreateWindowA;comctl32.*"</programlisting> <programlisting>"RelayInclude" = "user32.CreateWindowA;comctl32.*"</programlisting>
Include only the listed functions in a Include only the listed functions in a
<parameter>--debugmsg +relay</parameter> trace. This entry is <parameter>WINEDEBUG=+relay</parameter> trace. This entry is
ignored if there is a <parameter>RelayExclude</parameter> entry. ignored if there is a <parameter>RelayExclude</parameter> entry.
</para> </para>
<para> <para>
<programlisting>"RelayExclude" = "RtlEnterCriticalSection;RtlLeaveCriticalSection"</programlisting> <programlisting>"RelayExclude" = "RtlEnterCriticalSection;RtlLeaveCriticalSection"</programlisting>
Exclude the listed functions in a Exclude the listed functions in a
<parameter>--debugmsg +relay</parameter> trace. This entry <parameter>WINEDEBUG=+relay</parameter> trace. This entry
overrides any settings in a <parameter>RelayInclude</parameter> overrides any settings in a <parameter>RelayInclude</parameter>
entry. If neither entry is present then the trace includes entry. If neither entry is present then the trace includes
everything. everything.
@ -1277,8 +1277,8 @@ And here is a setup for Drive A, a generic floppy drive:
<itemizedlist> <itemizedlist>
<listitem> <listitem>
<para> <para>
Run the program with <parameter>--debugmsg Run the program with <parameter>WINEDEBUG=+loaddll</parameter>
+loaddll</parameter> to find out which files are to find out which files are
needed. Copy the required DLLs one by one to the needed. Copy the required DLLs one by one to the
<filename>C:\windows\system</filename> directory. Do not <filename>C:\windows\system</filename> directory. Do not
copy KERNEL/KERNEL32, GDI/GDI32, USER/USER32 or NTDLL. These copy KERNEL/KERNEL32, GDI/GDI32, USER/USER32 or NTDLL. These
@ -1698,8 +1698,8 @@ And here is a setup for Drive A, a generic floppy drive:
<para> <para>
A very useful help to find out which DLLs are loaded as built-in and A very useful help to find out which DLLs are loaded as built-in and
which are loaded as native Windows file can be the debug channel which are loaded as native Windows file can be the debug channel
loaddll, activated via the Wine command line parameter loaddll, activated via the environment variable
<command>--debugmsg +loaddll</command>. <command>WINEDEBUG=+loaddll</command>.
</para> </para>
</sect2> </sect2>

View file

@ -230,10 +230,10 @@ HANDLE32 WINAPI YourFunc(LPCSTR s)
</para> </para>
<para> <para>
The <parameter>--debugmsg</parameter> command line The <parameter>WINEDEBUG</parameter> environment variable
option controls the output of the debug messages. controls the output of the debug messages.
It has the following syntax: It has the following syntax:
<parameter>--debugmsg [yyy]#xxx[,[yyy1]#xxx1]*</parameter> <parameter>WINEDEBUG= [yyy]#xxx[,[yyy1]#xxx1]*</parameter>
</para> </para>
<itemizedlist> <itemizedlist>
<listitem> <listitem>
@ -252,7 +252,7 @@ HANDLE32 WINAPI YourFunc(LPCSTR s)
on all classes. For example: on all classes. For example:
</para> </para>
<programlisting> <programlisting>
--debugmsg +reg,-file WINEDEBUG=+reg,-file
</programlisting> </programlisting>
<para> <para>
enables all messages on the <literal>reg</literal> enables all messages on the <literal>reg</literal>
@ -269,7 +269,7 @@ HANDLE32 WINAPI YourFunc(LPCSTR s)
only on the given class. For example: only on the given class. For example:
</para> </para>
<programlisting> <programlisting>
--debugmsg trace+reg,warn-file WINEDEBUG=trace+reg,warn-file
</programlisting> </programlisting>
<para> <para>
enables trace messages on the <literal>reg</literal> enables trace messages on the <literal>reg</literal>
@ -283,18 +283,18 @@ HANDLE32 WINAPI YourFunc(LPCSTR s)
has the intuitive semantics: has the intuitive semantics:
</para> </para>
<screen> <screen>
--debugmsg +all -- enables all debug messages WINEDEBUG=+all -- enables all debug messages
--debugmsg -all -- disables all debug messages WINEDEBUG=-all -- disables all debug messages
--debugmsg yyy+all -- enables debug messages for class yyy on all WINEDEBUG=yyy+all -- enables debug messages for class yyy on all
channels. channels.
--debugmsg yyy-all -- disables debug messages for class yyy on all WINEDEBUG=yyy-all -- disables debug messages for class yyy on all
channels. channels.
</screen> </screen>
<para> <para>
So, for example: So, for example:
</para> </para>
<screen> <screen>
--debugmsg warn-all -- disables all warning messages. WINEDEBUG=warn-all -- disables all warning messages.
</screen> </screen>
</listitem> </listitem>
</itemizedlist> </itemizedlist>

View file

@ -122,7 +122,7 @@ After you have added your table, recompile Wine and test that
it works. If it fails to detect your table, try running it works. If it fails to detect your table, try running
</para> </para>
<screen> <screen>
wine --debugmsg +key,+keyboard >& key.log WINEDEBUG=+key,+keyboard wine > key.log 2>&1
</screen> </screen>
<para> <para>
and look in the resulting <filename>key.log</filename> file to and look in the resulting <filename>key.log</filename> file to

View file

@ -306,7 +306,7 @@ Please report (lionel.ulmer@free.fr) !
</para> </para>
<para> <para>
If you have this, run with <parameter>--debugmsg +opengl</parameter> If you have this, run with <parameter>WINEDEBUG=+opengl</parameter>
and send me <email>lionel.ulmer@free.fr</email> the TRACE. and send me <email>lionel.ulmer@free.fr</email> the TRACE.
</para> </para>
</sect2> </sect2>

View file

@ -267,8 +267,8 @@ signed short WINAPI MyProxyWinFunc (unsigned short a, void *b, void *c,
</para> </para>
<para> <para>
Once you have done this you should be using the Linux Shared Object Once you have done this you should be using the Linux Shared Object
successfully. If you have problems then use the --debugmsg +module successfully. If you have problems then set the WINEDEBUG=+module
options to wine to see what is actually happening. environment variable before running wine to see what is actually happening.
</para> </para>
</sect1> </sect1>