Gavriel State gav@transgaming.com writes:
I disagree - many of the bugs I encounter can happen well into the run of a program. For example, debugging a dialog box in an app that comes up only after a specific set of occurances. Having the ability to turn on -debugmsg +all at will would make this kind of debugging much easier.
My reply was more targeted at the dumping of the window handles; I don't deny switching tracing on or off would be useful, but it needs to be done in a more generic way.
Also this can be done externally to Wine, so that we don't need to burden the core dlls with extra command-line options or magic key sequences. There are many ways of doing that; an output filter is very easy to do and would work in many situations; if you need more complex stuff you could do it from the debugger, or write a small app that uses the debug API to manipulate the tracing state.