|
|
| Посл.отвђт | Сообщенiе |
|
|
Дата: Мар 23, 2004 09:58:21 Отладочные строки выдаю в моем драйвере через DbgPrint. Решил (эксперименту ради) проверить работу драйвера под Longhorn - драйвер не работает как положено. Это вполне ожидаемый результат. Странно что DbgPrint строки не показывает ни dbgview(by Russinovich) не DriverMonitor от SoftIce, ни куча др. утилит. Soft Ice (ds 3.1 rc1) так и не удалось поставить. Как посмотреть dbgprint строки ? |
|
|
Дата: Мар 24, 2004 09:32:03 Нашел в справке от WinDbg 6.3.11.3 Reading and Filtering Debugging Messages ... In Windows codename Longhorn and later versions of Windows, all messages sent by DbgPrint and KdPrint are associated with the DEFAULT component. ... In Windows codename Longhorn and later versions of Windows, all messages sent by DbgPrint and KdPrint behave like DbgPrintEx and KdPrintEx messages with Level equal to DPFLTR_INFO_LEVEL. In other words, these messages have the third bit of their importance bit field set. ... А значит добавляем в реестр ---------------------------------------------------------------------- ---- REGEDIT4 [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Debug Print Filter] "DEFAULT"=dword:000007ff ---------------------------------------------------------------------- ------- 7ff - чтоб было возможно увидеть все сообщения от DbgPrint |
|
|
Дата: Мар 24, 2004 18:01:12 Молодец. Спасибо. |
|
Powered by miniBB 1.6 © 2001-2002
Время загрузки страницы (сек.): 0.091 |