Breakpoints not working on XP with SP1 or Windows 2000 with SP3
在Xp帶sp1或2000帶sp3環境下斷點失效
問題編碼:FAQID1591 2003-05-29
Q: I am using XP sp1 or Windows 2000 sp3 with DriverStudio or DriverSuite 2.7 and my user mode breakpoints
are not stopping correctly plus I am getting hook failure messages, what should I do?
Q:我使用XP SP1或2000SP3,安裝了DriverStudio或DriverSuite 2.7 ,我設定的斷點不起作用。我該怎麼辦?
A: First, here is a link to osinfo.dat, replace the one currently on your machine and reboot. This should
take into account any structural changes in the kernel that the service pack has made.
首先,下載下面連結的OSINFO.DAT檔案,替換系統目錄原有的。
ftp://ftp.compuware.com/pub/driverstudio/outgoing/OsInfo/OSINFO.DAT
If there are any problems after this due to hotfixes, etc. this should alleviate them:
如果問題是由於安裝HOTFIX後出現的,這樣操作可以減少HOTFIX的影響。
The symbol trick as it is called gives SoftICE a change to dynamically calculate some of its hooks.
The steps are as follows.
步驟如下:
1. Create a correct NMS file for ntoskrnl. See "Translating system files" below.
建立正確的針對NTOSKRNL的NMS檔案,參照 "Translating system files" 中的內容(略)
2. Place the NTSYMBOLS=ON keyword on a separate line in winice.dat.
在Winice.dat中加入獨立的一行內容:NTSYMBOLS=ON
3. Add the symbols to the list of symbols to load at start. See "Adding files to start" below.
將開始時,就將Symbols加入到symbol列表中,見"Adding files to start" 一章(略)
That should solve nearly even problem encountered with a hot fix or service pack
這樣就能解決你的問題了。
簡單理解,請多包涵