调试在dllhost.exe中运行的inproc com服务器 [英] debugging an inproc com server running in dllhost.exe

查看:211
本文介绍了调试在dllhost.exe中运行的inproc com服务器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我写了一个在dllhost.exe代理中运行的inproc com dll,但我遇到了调试它的问题。

I am writing an inproc com dll that runs in the dllhost.exe surrogate, but I am running into an issue debugging it.

如果有多个dllhost.exe一次运行,那将很难找到一个附加调试器。

if there were multiple dllhost.exe's running at once, it would be annoying to find the right one to attach a debugger to. Is there an easy way to identify yours if a lot are running?

感谢

推荐答案

流程浏览器( http://technet.microsoft.com/en-us / sysinternals / bb896653 )具有方便的功能,允许您查看哪些进程已加载哪些DLL。您还可以在所有正在运行的进程中搜索DLL。

Process explorer (http://technet.microsoft.com/en-us/sysinternals/bb896653) has convenient feature that allows you to look at which processes have loaded which DLLs. You can also do a search for DLLs in all running processes.

Sysinternals还有一个名为ListDLLs的命令行实用程序( http://technet.microsoft.com/en-us/sysinternals/bb896656 )。

Sysinternals also has a command line utility called ListDLLs (http://technet.microsoft.com/en-us/sysinternals/bb896656) that should work for you.

一旦你找到了具有您的DLL的进程的PID,可以附加到它。

Once you find the PID of the process that has your DLL, you can attach to it.

这篇关于调试在dllhost.exe中运行的inproc com服务器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆