调试MS Exchange 2007传输代理 [英] Debugging MS Exchange 2007 Transport Agent

查看:98
本文介绍了调试MS Exchange 2007传输代理的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有用C#编写的,已安装在MS Exchange 2007上的传输代理的源代码.我需要使用VS对其进行调试,我认为这涉及将调试器附加"到进程"MSExchangeTransport.exe".我这样做,并将断点作为OnSubmittedMessageHandler()中的第一条语句.我知道正在调用此处理程序是因为代理按预期方式工作,并且处理程序中的代码执行了它的职责.但是,尽管在调试窗口中没有任何调试信息(尽管有各种Debug.WriteLine()调用),但是当我将鼠标悬停在断点上时,它们会说:

I have source code for a transport agent that I have installed on MS Exchange 2007 written in C#. I need to debug it using VS, which I think involves 'attaching' the debugger to the process 'MSExchangeTransport.exe'. I do this, and put in breakpoints as the first statement in the OnSubmittedMessageHandler(). I know that this handler is being called because the agent works as expected and the code in the handler carrying out it's duties. However I am not getting any debugging information in the debugging window (despite various Debug.WriteLine() calls) and when I hover the mouse over the breakpoints they say:

该断点当前不会被命中.该文档尚未加载任何符号"

"The breakpoint will not currently be hit. No symbols have been loaded for this document"

它已在调试模式下编译,并已使用Install-TransportAgent,Enable-TransportAgent成功安装并启动.

It was compiled in debug mode and successfully Installed and started using Install-TransportAgent, Enable-TransportAgent.

某事告诉我调试器没有找到需要的东西.有什么想法吗?

Something tells me the debugger is not finding what it needs. Any ideas?

推荐答案

啊!我应该将调试器附加到"EdgeTransport.exe".现在一切正常.

Ah! I should have been attaching the debugger to 'EdgeTransport.exe'. All working now.

这篇关于调试MS Exchange 2007传输代理的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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