Question about improving debugging on Mingw build
Hello, I am interested in improving debugging for dlls built with either Mingw or MS_VC if that is ever fixed. We are to the point now where a lot of needed dlls can be built with little or no changes and so I would like to start doing some major testing on Windows and ReactOS but I am unable to see TRACE/WARN/ERR and FIXME messages. Can we make libwine debug channels use OutputDebugString or one of the *printf functions or hell even MessageBox on Windows? In the ReactOS tree one of our developer started his own debug dll with the WINE debug channels using out DbgPrint function but I would like to implement something that is usable on both ReactOS and Windows. Thanks Steven __________________________________ Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yahoo.com
Steven Edwards <steven_ed4153(a)yahoo.com> writes:
I am interested in improving debugging for dlls built with either Mingw or MS_VC if that is ever fixed. We are to the point now where a lot of needed dlls can be built with little or no changes and so I would like to start doing some major testing on Windows and ReactOS but I am unable to see TRACE/WARN/ERR and FIXME messages. Can we make libwine debug channels use OutputDebugString or one of the *printf functions or hell even MessageBox on Windows?
The default implementation in libwine is doing a printf to stderr. Why doesn't this work for you? -- Alexandre Julliard julliard(a)winehq.com
The default implementation in libwine is doing a printf to stderr. Why doesn't this work for you?
The last time I tested I couldnt get anything to work but now FIXME and ERROR do. I guess maybe I did something wrong the last time I tried to test. Are the TRACE and WARN messages only for WINEserver? Those still dont show up for me. Thanks Steven __________________________________ Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yahoo.com
Steven Edwards <steven_ed4153(a)yahoo.com> writes:
The last time I tested I couldnt get anything to work but now FIXME and ERROR do. I guess maybe I did something wrong the last time I tried to test. Are the TRACE and WARN messages only for WINEserver? Those still dont show up for me.
They are off by default, they are switched on by the --debugmsg flag, which of course doesn't work for you... you can simulate it by calling wine_dbg_parse_options() from somewhere in the app startup code. -- Alexandre Julliard julliard(a)winehq.com
participants (2)
-
Alexandre Julliard -
Steven Edwards