Commit 263cdcd8 authored by Tony Lambregts's avatar Tony Lambregts Committed by Alexandre Julliard

Update debugger documentation for when programs hangs.

parent 3390547a
...@@ -430,16 +430,12 @@ winedbg "hl.exe -windowed" ...@@ -430,16 +430,12 @@ winedbg "hl.exe -windowed"
<title>Program hangs, nothing happens</title> <title>Program hangs, nothing happens</title>
<para> <para>
<emphasis>Fix me - this is out of date </emphasis> Start the program with <command>winedbg</command> instead of
Switch to UNIX shell, get the process-ID using <command>ps -a | <command>wine</command>. When the program locks up switch to the
grep wine</command>, and do a <command>kill -HUP winedbg terminal and press
&lt;pid></command> (without the &lt; and >). Wine will <keycombo><keycap>Ctrl</keycap><keycap>C</keycap></keycombo>. this
then enter its internal debugger and you can proceed as will stop the program and let you debug the program as you would for
explained above. Also, you can use a crash.
<parameter>--debug</parameter> switch and then you can get into
internal debugger by pressing
<keycombo><keycap>Ctrl</keycap><keycap>C</keycap></keycombo> in
the terminal where you run Wine.
</para> </para>
</sect2> </sect2>
...@@ -664,11 +660,11 @@ wine --debugmsg +relay program ...@@ -664,11 +660,11 @@ wine --debugmsg +relay program
to get a listing of the functions the program calls in its start function. to get a listing of the functions the program calls in its start function.
Now you do a Now you do a
<programlisting> <programlisting>
wine --debug winfile.exe winedbg winfile.exe
</programlisting> </programlisting>
</para> </para>
<para> <para>
This way, you get into <command>Wine-dbg</command>. Now you This way, you get into <command>winedbg</command>. Now you
can set a breakpoint on any function the program calls in can set a breakpoint on any function the program calls in
the start function and just type <userinput>c</userinput> the start function and just type <userinput>c</userinput>
to bypass the eventual calls of Winfile to this function to bypass the eventual calls of Winfile to this function
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment