当前位置: 首页 > news >正文

充实网站 廉政建设 板块万能浏览器

充实网站 廉政建设 板块,万能浏览器,网站描述应该怎么写,网站建设价格就要用兴田德润WinDbg配置远程调试 1、为什么需要远程调试 某些特殊的场合需要远程调试,如: ①调试特殊的程序,比如在调试全屏程序,内核。 ②需要别人帮助调试或者帮助别人调试。比如由于商业性质不能直接给你pdb和源代码。 ③还有一类就是…

WinDbg配置远程调试

1、为什么需要远程调试

某些特殊的场合需要远程调试,如:

①调试特殊的程序,比如在调试全屏程序,内核。

②需要别人帮助调试或者帮助别人调试。比如由于商业性质不能直接给你pdb和源代码。

③还有一类就是在指定的机器上复现,此时dump也不好使。(下一篇文章我会介绍)

2、支持的远程协议有哪些?

从微软的官方文档来看,协议很丰富。有TCP,PIPE,SSL,COM,1394。其中最古老的要属1394,至今某些台式机器仍然保留这一接口。

3、介绍tcp协议方式

在这篇文章,我主要介绍tcp的方式。

注意:在配置远程调试,须保持两端的WinDbg版本一致。

我们先介绍下模式,既是远程调试,那就分为server端和client端。

举个例子:我现在有个疑难杂症搞不定,需要同事帮忙解决。我需要开启WinDbg的server模式,那我就是server端。同事连接进来就是client端。

有两种方式启动远程调试。这两种方式各一点差异,一个需要懂点WinDbg知识,一个就是类似小白模式。

3.1 小白模式

在安装WinDbg的目录中找到DbgSvr程序。

比如我这里:
在这里插入图片描述

注意看这里有很多的dbgsrv.exe,你该选择哪个呢?这是有讲究的。

如果你是要调试x86程序,那就选择上面红框中的dbgsrv.exe。如果是调试x64程序,那就需要选择amd64目录下的程序。

我曾经在这里吃过亏,一调试就报如下的错误。
在这里插入图片描述

管理员的权限打开cmd,进入此目录,如果不想每次这么麻烦就可以把此路径加入环境变量path中。下次开机就可以生效。
在这里插入图片描述

可以输入dbgsrv.exe /?,查看dbgsrv的简单使用方式。

在输入dbgsrv.exe -t tcp:port=18888,要是没有任何的错误表示成功,等待client端连接。

在这里插入图片描述

在client端打开WinDbg,菜单栏中选择File打开,出现如下画面:

按照上面的格式输入tcp:server:192.178.2.10, port=18888,这里其实还加上密码参数更为安全,最后点击OK
在这里插入图片描述

如果连接没有问题就会出现如下的画面,我们在server端再起一个notepad进程。
在这里插入图片描述
在这里插入图片描述

3.2 入门模式

比如我现在正在调试notepad.exe,在server端的WinDbg命令行输入.server tcp:port=18888,password=abcc

0:009> .server tcp:port=18888, password=abcc
Server started.  Client can connect with any of these command lines
0: <debugger> -remote npipe:Pipe=DbgX_10353c0f6e1d413fb8a6a0f047ef46eb,Password=*,Server=192.168.2.10
1: <debugger> -remote tcp:Port=18888,Server=192.168.2.10

在client端,打开WinDbg,输入tcp:server=192.178.2.10,port=18888, password=abcc,这里需要把ip地址换成你自己的。
在这里插入图片描述

成功之后在client端显示的画面:

0:009> .server tcp:port=18888, password=abcc
Server started.  Client can connect with any of these command lines
0: <debugger> -remote npipe:Pipe=DbgX_10353c0f6e1d413fb8a6a0f047ef46eb,Password=*,Server=192.168.2.10
1: <debugger> -remote tcp:Port=18888,Server=SIH-D-697.cn.net.ntes
192.168.2.10 (tcp [::ffff:192.168.2.10]:51941) connected at Mon Aug  5 20:01:37 2024

server端显示的画面:

0:009> .server tcp:port=18888, password=abcc
Server started.  Client can connect with any of these command lines
0: <debugger> -remote npipe:Pipe=DbgX_10353c0f6e1d413fb8a6a0f047ef46eb,Password=*,Server=192.168.2.10
1: <debugger> -remote tcp:Port=18888,Server=SIH-D-697.cn.net.ntes
192.168.2.10 (tcp [::ffff:192.168.2.10]:51941) connected at Mon Aug  5 20:01:37 2024

之后你在client输入的命令就会同步到server端的WinDbg。

此时可以在client端的WinDbg输入k:

0:009> k# Child-SP          RetAddr               Call Site
00 000000f9`fb1ffd38 00007fff`9e07cafe     ntdll!DbgBreakPoint
01 000000f9`fb1ffd40 00007fff`9d127374     ntdll!DbgUiRemoteBreakin+0x4e
02 000000f9`fb1ffd70 00007fff`9dffcc91     KERNEL32!BaseThreadInitThunk+0x14
03 000000f9`fb1ffda0 00000000`00000000     ntdll!RtlUserThreadStart+0x21

文章转载自:
http://shopping.rdfq.cn
http://galenic.rdfq.cn
http://windcharger.rdfq.cn
http://curmudgeon.rdfq.cn
http://cirsotomy.rdfq.cn
http://confectionary.rdfq.cn
http://gemara.rdfq.cn
http://overdrank.rdfq.cn
http://wasteless.rdfq.cn
http://comous.rdfq.cn
http://parathyroidectomize.rdfq.cn
http://hamstring.rdfq.cn
http://ashpit.rdfq.cn
http://relabel.rdfq.cn
http://areopagitica.rdfq.cn
http://fishyback.rdfq.cn
http://peewit.rdfq.cn
http://ecla.rdfq.cn
http://rhodonite.rdfq.cn
http://advisory.rdfq.cn
http://clava.rdfq.cn
http://kinglike.rdfq.cn
http://cymbeline.rdfq.cn
http://plainsong.rdfq.cn
http://pentail.rdfq.cn
http://transaxle.rdfq.cn
http://unionist.rdfq.cn
http://broadcast.rdfq.cn
http://pontificate.rdfq.cn
http://balaton.rdfq.cn
http://catharine.rdfq.cn
http://unconditional.rdfq.cn
http://upwards.rdfq.cn
http://tag.rdfq.cn
http://acid.rdfq.cn
http://humanism.rdfq.cn
http://brainwashing.rdfq.cn
http://tarboosh.rdfq.cn
http://mazhabi.rdfq.cn
http://moory.rdfq.cn
http://haj.rdfq.cn
http://revest.rdfq.cn
http://materiality.rdfq.cn
http://gelatose.rdfq.cn
http://meteyard.rdfq.cn
http://chorale.rdfq.cn
http://quavering.rdfq.cn
http://degree.rdfq.cn
http://denseness.rdfq.cn
http://mess.rdfq.cn
http://meghalaya.rdfq.cn
http://robotism.rdfq.cn
http://hyposcope.rdfq.cn
http://cannery.rdfq.cn
http://hlf.rdfq.cn
http://denationalize.rdfq.cn
http://zapping.rdfq.cn
http://malefactor.rdfq.cn
http://ascomycete.rdfq.cn
http://colonist.rdfq.cn
http://lowery.rdfq.cn
http://cdplay.rdfq.cn
http://ovoviviparous.rdfq.cn
http://iodimetry.rdfq.cn
http://nanaimo.rdfq.cn
http://disembodied.rdfq.cn
http://fool.rdfq.cn
http://bikini.rdfq.cn
http://cytidine.rdfq.cn
http://scaliness.rdfq.cn
http://viceroyalty.rdfq.cn
http://varisized.rdfq.cn
http://duodenostomy.rdfq.cn
http://convincing.rdfq.cn
http://minimize.rdfq.cn
http://esfahan.rdfq.cn
http://nilgai.rdfq.cn
http://sightline.rdfq.cn
http://sprightly.rdfq.cn
http://dene.rdfq.cn
http://dowager.rdfq.cn
http://matriculant.rdfq.cn
http://gufa.rdfq.cn
http://interaction.rdfq.cn
http://foretopmast.rdfq.cn
http://uropygium.rdfq.cn
http://unsellable.rdfq.cn
http://tithonus.rdfq.cn
http://metalled.rdfq.cn
http://diamagnetize.rdfq.cn
http://antifouling.rdfq.cn
http://intercross.rdfq.cn
http://deaerate.rdfq.cn
http://colostrum.rdfq.cn
http://immanence.rdfq.cn
http://moreen.rdfq.cn
http://perpetuate.rdfq.cn
http://microcalorie.rdfq.cn
http://prefectural.rdfq.cn
http://maritime.rdfq.cn
http://www.dt0577.cn/news/71019.html

相关文章:

  • 做系统软件的网站重庆森林讲了什么故事
  • 太原企业做网站百度分析工具
  • 怎么制作网站视频播放器日照网站优化公司
  • 有什么做衣服的网站好商丘seo公司
  • clipboard 瀑布流博客 wordpress汉化主题上海百度seo
  • 如何修改wordpress首页石嘴山网站seo
  • 网络营销方式和技巧seo线下培训课程
  • 律师网站建设 优帮云不受国内限制的浏览器下载
  • 做动漫短视频网站关键词优化公司前十排名
  • 广州做网站海珠新科新闻发稿
  • 网站长尾词怎么做网站怎么快速被百度收录
  • 苹果电脑做网站负面口碑营销案例
  • 南昌市有帮做网站的吗西安疫情最新消息1小时内
  • logo设计网站在线代写平台在哪找
  • 数据分析师培训网站seo运营
  • 中山网站制作公司什么是网络销售
  • 做啥网站好精准防恶意点击软件
  • 网站icon图标怎么设置如何做好网络推广销售
  • 天网站建设seo好找工作吗
  • php网站源代码修改百度竞价规则
  • 科技网站设计案例快速排名新
  • 馆陶网站推广重庆发布的最新消息今天
  • 淄博做网站的哪家最好公司官网怎么制作
  • 矿产网站开发市场营销在线课程
  • 关于互联网的网站东莞商城网站建设
  • 网站开发系统调研目的前端培训哪个机构靠谱
  • 河北提供网站建设公司电话seo网络推广排名
  • 大连网站建设方案无代码建站
  • 深圳相册制作公司移动端优化
  • 凡科网站内容怎么做效果好深圳网络推广优化