Quantcast
Channel: Exchange Server Development forum
Viewing all articles
Browse latest Browse all 7132

Transport agent debugging in Exchange 2016

$
0
0

Hello All,

I have built a new Exchange 2016 CU15 development system and have installed Visual Studio 2019 in order to develop transport agents for a project I have been assigned.

To start off I built a sample smtp receive agent and successfully got it installed and working on exchange.

Now I want to be able to debug the project.
My agent is being ran from the debug folder of my VS project, symbols are present in the folder and Network Service has full access.

I then successfully attach to the MSExchangeTransport.exe process, but when I set breakpoints they are marked “The breakpoint will not currently be hit, no symbols are loaded for this document”.

In the past I built some Managed sinks for Exchange 2003 and I would get the same warning until a message was received by exchange then everything loaded and I was able to debug the sink.

When I send a message to a user of exchange the message is processed by my smtp receive agent and delivered to the mailbox but the breakpoints are never hit.

Even though I didn’t install the agent using the –Frontend parameter I also attached to the MSFrontendTransport.exe as well as the EdgeTransport.exe  processes with the same result.

Does anyone have any ideas what I could be missing or doing wrong?

Regards
RD


Viewing all articles
Browse latest Browse all 7132

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>