Hi, wine_dbg_parse_options does not exist anymore. Is there a reason for that ? Is there any other way to enable debug channels from whithin wine code ? Thanks, Christian
Christian Costa <titan.costa(a)wanadoo.fr> writes:
Hi,
wine_dbg_parse_options does not exist anymore. Is there a reason for that ? Is there any other way to enable debug channels from whithin wine code ?
I just added a __wine_dbg_set_channel_flags function. Note that because of the way the new channel handling works, the channel needs to be specified in the WINEDEBUG options to allow the flags to be changed dynamically. -- Alexandre Julliard julliard(a)winehq.org
Alexandre Julliard wrote:
Christian Costa <titan.costa(a)wanadoo.fr> writes:
Hi,
wine_dbg_parse_options does not exist anymore. Is there a reason for that ? Is there any other way to enable debug channels from whithin wine code ?
I just added a __wine_dbg_set_channel_flags function. Note that because of the way the new channel handling works, the channel needs to be specified in the WINEDEBUG options to allow the flags to be changed dynamically.
Thanks a lot ! This works ! However, I would like to do the same thing as wine_dbg_parse_options("+all"). Using "all" as channel name with __wine_dbg_set_channel_flags doest not work (I guess "all" is not really a channel). Is there a way to do that ? (Apart from adding one by one all channels available out there) Thanks, Christian
Christian Costa <titan.costa(a)wanadoo.fr> writes:
However, I would like to do the same thing as wine_dbg_parse_options("+all"). Using "all" as channel name with __wine_dbg_set_channel_flags doest not work (I guess "all" is not really a channel). Is there a way to do that ? (Apart from adding one by one all channels available out there)
No, there's no way to do that ATM. Why do you need +all from inside the app? -- Alexandre Julliard julliard(a)winehq.org
Alexandre Julliard wrote:
Christian Costa <titan.costa(a)wanadoo.fr> writes:
However, I would like to do the same thing as wine_dbg_parse_options("+all"). Using "all" as channel name with __wine_dbg_set_channel_flags doest not work (I guess "all" is not really a channel). Is there a way to do that ? (Apart from adding one by one all channels available out there)
No, there's no way to do that ATM. Why do you need +all from inside the app?
I use this to trigger all traces just before a crash or an error occurs. This is mainly to avoid having huge log.
On Sun, 23 Oct 2005 13:05:59 +0200, Christian Costa <titan.costa(a)wanadoo.fr> wrote:
Alexandre Julliard wrote:
Christian Costa <titan.costa(a)wanadoo.fr> writes:
However, I would like to do the same thing as wine_dbg_parse_options("+all"). Using "all" as channel name with __wine_dbg_set_channel_flags doest not work (I guess "all" is not really a channel). Is there a way to do that ? (Apart from adding one by one all channels available out there)
No, there's no way to do that ATM. Why do you need +all from inside the app?
I use this to trigger all traces just before a crash or an error occurs. This is mainly to avoid having huge log.
Very good idea, I did not realise that could be done. I often end up doing several restricted run with different channels just to keep things managable. If that functionality can be restored it sounds very useful.
Christian Costa <titan.costa(a)wanadoo.fr> writes:
I use this to trigger all traces just before a crash or an error occurs. This is mainly to avoid having huge log.
I'm afraid it's not really possible, you have to specify channels explicitly (and they need to be channels that were part of the WINEDEBUG setting). We no longer maintain a global list of channel variables so there's no way to set them all. -- Alexandre Julliard julliard(a)winehq.org
Alexandre Julliard wrote:
Christian Costa <titan.costa(a)wanadoo.fr> writes:
I use this to trigger all traces just before a crash or an error occurs. This is mainly to avoid having huge log.
I'm afraid it's not really possible, you have to specify channels explicitly (and they need to be channels that were part of the WINEDEBUG setting). We no longer maintain a global list of channel variables so there's no way to set them all.
Bad luck ! :-( Thanks anyway. Christian.
participants (3)
-
Alexandre Julliard -
Christian Costa -
wino@piments.com