Hello Alexandre,
currently debug channels are initialized too late. Due to that debugging with +nls turned on doesn't show traces produced by dlls/kernel/locale.c,LOCALE_Init().
"Dmitry Timoshkov" dmitry@baikal.ru writes:
currently debug channels are initialized too late. Due to that debugging with +nls turned on doesn't show traces produced by dlls/kernel/locale.c,LOCALE_Init().
That's because we need the locale stuff before parsing the command line, and the debug options are on the command line. The solution is to get rid of the --debugmsg option and use a WINEDEBUG environment variable instead.
On Thu, 2003-11-27 at 20:33, Alexandre Julliard wrote:
That's because we need the locale stuff before parsing the command line, and the debug options are on the command line. The solution is to get rid of the --debugmsg option and use a WINEDEBUG environment variable instead.
I thought you might say that. I sense a "corkscrew" script coming up :)
"Alexandre Julliard" julliard@winehq.org wrote:
That's because we need the locale stuff before parsing the command line, and the debug options are on the command line. The solution is to get rid of the --debugmsg option and use a WINEDEBUG environment variable instead.
Do you mean WINEOPTIONS? If yes, what is correct syntax for it?
WINEOPTIONS="--debugmsg +nls" wine notepad &>notepad.log
?
"Dmitry Timoshkov" dmitry@baikal.ru wrote:
"Alexandre Julliard" julliard@winehq.org wrote:
That's because we need the locale stuff before parsing the command line, and the debug options are on the command line. The solution is to get rid of the --debugmsg option and use a WINEDEBUG environment variable instead.
Do you mean WINEOPTIONS? If yes, what is correct syntax for it?
WINEOPTIONS="--debugmsg +nls" wine notepad &>notepad.log
Actually using WINEOPTIONS has exactly the same problem: traces produced by dlls/kernel/locale.c,LOCALE_Init() DO NOT appear in the log.
"Dmitry Timoshkov" dmitry@baikal.ru writes:
Do you mean WINEOPTIONS? If yes, what is correct syntax for it?
No, I don't mean WINEOPTIONS, that's a hack that will need to go away too. I mean a new WINEDEBUG variable just for debugging setup, similar to the LD_DEBUG of the ELF loader. It won't work right now because it's not implemented yet...