My vote is certainly "Yes!", and I will try to help with this as much as
possible.
The only thing I don't know yet is to how to configure those filters before
OS boots -- I think Hartmut has similar question because he advised to split
KM and UM, and not use new system in KM.
However if new system will be equally good (in fact it should be much
better), than I'm sure everyone will be glad with it.
With the best regards,
Aleksey Bragin.
----- Original Message -----
From: "Alex Ionescu" <ionucu(a)videotron.ca>
To: "ReactOS Development List" <ros-dev(a)reactos.com>
Sent: Sunday, May 08, 2005 10:29 PM
Subject: [ros-dev] VOTE: Switch to Wine Debug System
VOTING TOPIC: Switch to Wine Debug System, a run-time
configurable Debug
System in which various debug modes can be used (TRACE, WARN, FIXME,
ERROR, etc). It would use DbgPrintEx along with Debug Filters (just like
on XP) which can be configured at run-time in the registry to set how
many of the messages to show. I believe the current WINE system has the
library doing all this checking, but it's possible they do actually use
the NT method. DbgPrintEx and filter states are currently unimplemented
in our ntdll/ntoskrnl, so they must be implemented. Additionally, these
Debug Messages would only be inserted into the code for a DBG build,
just like it is currently done now. Finally, using this system will
allow us to better share code with WINE.
PROS:
- Configurable debugging
- More versatility then just "Print Always" and "Print if
I remove NDEBUG"
- Better code sharing with WINE
- Will lead to the implementation of some DbgPrint
functions which NT Drivers are bound to use.
CONS:
- Requires developer time to switch to this system.
- Requires implementing some Kernel Functions.
VOTING TIME: 2 weeks. Results announced Monday 23rd at 5PM EST.
VOTING CHOICES:
- Yes! Get rid of DPRINT/DPRINT1 and
implement a run-time configurable Debug System with multiple verbose
levels, based on WINE syntax and Windows NT implementation.
- No! Stick with the current static,
compile-time DPRINT/DPRINT1 system.
VOTING OPEN TO: Due to the nature of this source-level change, voting is
opened only to developers.
Best regards,
Alex Ionescu
_______________________________________________
Ros-dev mailing list
Ros-dev(a)reactos.com
http://reactos.com:8080/mailman/listinfo/ros-dev