ok100fen 发表于 2010-10-21 23:13:18

崩溃中,符号下载与符号路径问题

弄了两个晚上了
请教了三个高手
用了四种方法
还是不行
就是提示符号路径不对

求助!!!

我的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

ok100fen 发表于 2010-10-21 23:14:21

出现这样的提示:

*   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

ok100fen 发表于 2010-10-21 23:15:30

重启提示还是这样:


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

ok100fen 发表于 2010-10-21 23:15:57

不知道怎么改~~~~~

Tesla.Angela 发表于 2010-10-22 10:42:30

本帖最后由 Tesla.Angela 于 2010-10-22 10:44 编辑

我的是这样的(下载ntosxxxx.exe的符号表):
C:\WINDOWS\Symbols; SRV*C:\WINDOWS\Symbols*http://msdl.microsoft.com/download/symbols

ok100fen 发表于 2010-10-22 11:54:16

关键是自己写的程序的符号表呢?

Tesla.Angela 发表于 2010-10-22 14:15:47

回复 6# ok100fen


这个我不清楚

马大哈 发表于 2010-10-23 11:36:14

自己写的程序,编译后貌似会有符号库的.

VB6里就是选上"创建符号化调试信息"再编译.

VC6里貌似默认就会输出的.

kk1025 发表于 2013-4-11 23:58:16

不是這樣.
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]
查看完整版本: 崩溃中,符号下载与符号路径问题