找回密码
 加入我们

QQ登录

只需一步,快速开始

搜索
查看: 9514|回复: 8

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

  [复制链接]

90

主题

473

回帖

2

精华

钻石会员

积分
3261
发表于 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

90

主题

473

回帖

2

精华

钻石会员

积分
3261
 楼主| 发表于 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

90

主题

473

回帖

2

精华

钻石会员

积分
3261
 楼主| 发表于 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

90

主题

473

回帖

2

精华

钻石会员

积分
3261
 楼主| 发表于 2010-10-21 23:15:57 | 显示全部楼层
不知道怎么改~~~~~

857

主题

2632

回帖

2

精华

管理员

此生无悔入华夏,  长居日耳曼尼亚。  

积分
36130
发表于 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

90

主题

473

回帖

2

精华

钻石会员

积分
3261
 楼主| 发表于 2010-10-22 11:54:16 | 显示全部楼层
关键是自己写的程序的符号表呢?

857

主题

2632

回帖

2

精华

管理员

此生无悔入华夏,  长居日耳曼尼亚。  

积分
36130
发表于 2010-10-22 14:15:47 | 显示全部楼层
回复 6# ok100fen


这个我不清楚

275

主题

3017

回帖

1

精华

管理员

嗷嗷叫的老马

积分
17064

论坛牛人贡献奖关注奖最佳版主进步奖人气王疯狂作品奖精英奖赞助论坛勋章乐于助人勋章

QQ
发表于 2010-10-23 11:36:14 | 显示全部楼层
自己写的程序,编译后貌似会有符号库的.

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

VC6里貌似默认就会输出的.
我就是嗷嗷叫的老马了......

7

主题

414

回帖

1

精华

铂金会员

积分
2173
发表于 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
您需要登录后才可以回帖 登录 | 加入我们

本版积分规则

快速回复 返回顶部 返回列表