Not login
0

[104]  【GDK7】用nano code无法连接目标机

asked 2020-06-12 15:44:02 +0800

yafare gravatar image

按文档说的开始调试之后,nano code输出下述信息之后,服务器控制台退出了。

Nano Debugger (NDB) 1.0.228 Starting... Starting KD session type=usb3,proto=dcid,ipc=exdi,opt=rFound KdVersionBlock at 0xfffff8077622a3d8 Connected to Windows 10 18362 x64 target at (Fri Jun 12 15:42:07.124 2020 (UTC + 8:00)), ptr64 TRUE Symbol search path is: srv* Executable search path is:


Unable to read debugger data block header


* ERROR: Symbol file could not be found. Defaulted to export symbols for ntkrnlmp.exe -


Unable to read debugger data block header


Windows 10 Kernel Version 18362 MP (4 procs) Free x64 Product: WinNt, suite: TerminalServer SingleUserTS Machine Name: Kernel base = 0xfffff80775e00000 PsLoadedModuleList = 0xfffff80776248170 Debug session time: Fri Jun 12 15:42:14.006 2020 (UTC + 8:00)

Extension host terminated unexpectedly.

edit retag flag offensive close merge delete

2 Answers

Sort by » oldest newest most voted
0

answered 2020-06-13 17:45:35 +0800

gdman gravatar image

看起来前面很顺利,加载pdb时失败触发异常了,解决的方法是,让主机的网络对国内服务器友好,以便可以从格蠹的符号服务器下载pdb,然后再试一下

edit flag offensive delete link more

Comments

我的网络是联通的,国内的服务器应该都可以连。我需要特殊设置符号服务器地址吗,或者可以给我一下符号服务器地址,我试一下是不是可以手工连上去

yafare gravatar image yafare  ( 2020-06-13 20:22:18 +0800 ) edit

请加这样一个环境变量,_NT_SYMBOL_PATH=srv*c:\Symbols*http://msdl.microsoft.com/download/symbols

gdman gravatar image gdman  ( 2020-06-13 23:05:23 +0800 ) edit
0

answered 2020-06-19 13:10:01 +0800

yafare gravatar image

updated 2020-07-10 19:55:25 +0800

设置了环境变量以后,用nanocode链接gdk7还是有错误:

Nano Debugger (NDB) 1.0.228 Starting... Starting KD session type=usb3,proto=dcid,ipc=exdi,opt=rFound KdVersionBlock at 0xfffff8037c02a3d8 Connected to Windows 10 18362 x64 target at (Fri Jun 19 13:08:30.711 2020 (UTC + 8:00)), ptr64 TRUE *** Path validation summary *** Response Time (ms) Location Deferred srvC:\Symbolshttps://msdl.microsoft.com/download/symbols Symbol search path is: srvC:\Symbols*https://msdl.microsoft.com/download/symbols Executable search path is:


Unable to read debugger data block header


No .natvis files found at C:\Windows\SYSTEM32\Visualizers. No .natvis files found at C:\Users\xx\AppData\Local\Dbg\Visualizers.


Unable to read debugger data block header


Windows 10 Kernel Version 18362 MP (4 procs) Free x64 Product: WinNt, suite: TerminalServer SingleUserTS Machine Name: Kernel base = 0xfffff8037bc00000 PsLoadedModuleList = 0xfffff8037c048170 Debug session time: Fri Jun 19 13:08:37.692 2020 (UTC + 8:00)

这个是什么原因导致的?

image description

edit flag offensive delete link more

Comments

看着挺正常了,你说错误是指那句话?

gdman gravatar image gdman  ( 2020-06-19 17:07:23 +0800 ) edit

我在上面补充了一个图片,打印上面的信息之后,控制台退出了。

yafare gravatar image yafare  ( 2020-07-10 19:55:23 +0800 ) edit

从上面截图看,你用的是exdi方式,建议换dci open方式试一下,另外,你用的是比较旧的版本,https://www.nanocode.cn/#/download 有新版本了

gdman gravatar image gdman  ( 2020-07-11 08:37:18 +0800 ) edit
Login/Signup to Answer

Question Tools

1 follower

Stats

Asked: 2020-06-12 15:44:02 +0800

Seen: 65 times

Last updated: Jul 10 '20

关闭