Does winelib implement main()?

Dimitrie O. Paun dpaun at rogers.com
Sun Feb 15 09:17:07 CST 2004


On February 15, 2004 03:26 am, Boaz Harrosh wrote:
> You can still use GDB (or kdevelop or ddd):
> - check out what wine is running on your machine run a wine app and see
> in ps if you have wine-pthread or wine-kthread
> - run above under GDB
> - put yourapp.exe.so as the command line parameter in GDB
>    Example:    (gdb) set args -debugmsg err+all,warn+all --
> /home/Wine/MyApp/MyApp.exe.so
> - set environment to match wine execution:
>    Example:    (gdb) set environment
> WINEDLLPATH=/home/Wine/wine/dlls:/home/Wine/wine/programs
>    See your "test" script for exact details of environment used.
> - happy debugging under GDB

This is a nice explanation, it should find it's way into some
of our documentation (we already have a Winedbg section in the
Devel Guide). Speaking of which, we don't have a man page for 
winedbg, do we need one?

-- 
Dimi.




More information about the wine-devel mailing list