【问题标题】:Step In / Debug ServicedComponent步入/调试 ServicedComponent
【发布时间】:2013-11-21 16:22:11
【问题描述】:

我有 ServicedComponent,我已在我的测试代码中将其添加为参考(调试模式),它的 pdb 文件与 dll 位于同一文件夹中。

我正在使用 VS 2010。我已在两个项目设置中选中启用非托管代码调试和启用 Visual Studio 托管进程。这两个项目都是本地的。

using(Gatherer nag = new Gatherer())
{
try
{
   nag.test(); ==> it won't step in test function.

我可以但是,当我尝试介入时,它不会介入。它会跳到下一行。

我还需要做什么来调试这个 ServicedComponent?

【问题讨论】:

    标签: com+ servicedcomponent


    【解决方案1】:

    我刚刚想通了。我必须选择“附加到进程”,然后从列表中选择“dllhost.exe”。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2010-10-03
      • 2020-09-11
      • 1970-01-01
      • 2020-10-10
      • 2020-04-12
      • 1970-01-01
      相关资源
      最近更新 更多