崩溃中,符号下载与符号路径问题
弄了两个晚上了请教了三个高手
用了四种方法
还是不行
就是提示符号路径不对
求助!!!
我的pbd文件的路径:
C:\ygl\lengfeng2\driver\i386
微软的下载路径:
SRV*d:\Symbol*http://msdl.microsoft.com/download/symbols
一起是这样的:
SRV*d:\Symbol*http://msdl.microsoft.com/download/symbols;C:\ygl\lengfeng2\driver\i386 出现这样的提示:
* using the -y <symbol_path> argument when starting the debugger. *
* using .sympath and .sympath+ *
*********************************************************************
*** ERROR: Symbol file could not be found.Defaulted to export symbols for ntkrnlpa.exe -
Windows XP Kernel Version 2600 (Service Pack 2) UP Free x86 compatible
Built by: 2600.xpsp_sp2_gdr.050301-1519
Machine Name:
Kernel base = 0x804d8000 PsLoadedModuleList = 0x805541a0
System Uptime: not available
Break instruction exception - code 80000003 (first chance)
*******************************************************************************
* *
* You are seeing this message because you pressed either *
* CTRL+C (if you run kd.exe) or, *
* CTRL+BREAK (if you run WinDBG), *
* on your debugger machine's keyboard. *
* *
* THIS IS NOT A BUG OR A SYSTEM CRASH *
* *
* If you did not intend to break into the debugger, press the "g" key, then *
* press the "Enter" key now.This message might immediately reappear.If it *
* does, press "g" and "Enter" again. *
* *
*******************************************************************************
nt!DbgBreakPointWithStatus+0x4:
80527da8 cc int 3
kd> .reload
Connected to Windows XP 2600 x86 compatible target at (Thu Oct 21 23:17:53.593 2010 (GMT+8)), ptr64 FALSE
Loading Kernel Symbols
.................................
Loading User Symbols 重启提示还是这样:
Executable search path is:
*********************************************************************
* Symbols can not be loaded because symbol path is not initialized. *
* *
* The Symbol Path can be set by: *
* using the _NT_SYMBOL_PATH environment variable. *
* using the -y <symbol_path> argument when starting the debugger. *
* using .sympath and .sympath+ *
*********************************************************************
*** ERROR: Symbol file could not be found.Defaulted to export symbols for ntkrnlpa.exe -
Windows XP Kernel Version 2600 (Service Pack 2) UP Free x86 compatible
Built by: 2600.xpsp_sp2_gdr.050301-1519
Machine Name:
Kernel base = 0x804d8000 PsLoadedModuleList = 0x805541a0
System Uptime: not available
Break instruction exception - code 80000003 (first chance)
*******************************************************************************
* *
* You are seeing this message because you pressed either *
* CTRL+C (if you run kd.exe) or, *
* CTRL+BREAK (if you run WinDBG), *
* on your debugger machine's keyboard. *
* *
* THIS IS NOT A BUG OR A SYSTEM CRASH *
* *
* If you did not intend to break into the debugger, press the "g" key, then *
* press the "Enter" key now.This message might immediately reappear.If it *
* does, press "g" and "Enter" again. *
* *
*******************************************************************************
nt!DbgBreakPointWithStatus+0x4:
80527da8 cc int 3 不知道怎么改~~~~~ 本帖最后由 Tesla.Angela 于 2010-10-22 10:44 编辑
我的是这样的(下载ntosxxxx.exe的符号表):
C:\WINDOWS\Symbols; SRV*C:\WINDOWS\Symbols*http://msdl.microsoft.com/download/symbols 关键是自己写的程序的符号表呢? 回复 6# ok100fen
这个我不清楚 自己写的程序,编译后貌似会有符号库的.
VB6里就是选上"创建符号化调试信息"再编译.
VC6里貌似默认就会输出的. 不是這樣.
1. 先到WDK的路徑下, 找一個symchk.exe
2. 在該路徑下輸入.
symchk /r c:\windows\system32 /s SRV*C:\ygl\lengfeng2\driver\i386*http://mdsl.microsoft.com/download/symbols /s
3. 在你的WINDBG中SYMBOLS PATH中設定.
SRV*C:\ygl\lengfeng2\driver\i386*http:msdl.microsoft.com/download/symbols
4. 進入WINDBG 輸入
.reload
页:
[1]