Discussion:
Debugging Custom Adapters
(too old to reply)
Waqar Sadiq
2008-01-24 23:00:54 UTC
Permalink
I am attempting to develop a custom BizTalk adapter. Being new at this, it
would be very helpful to know how (if possible) can I debug the adapter in
Visual Studio 2005 - using its debugger. Is it possible? If not, then what
are some of the recommended approaches to debugging custome adapters.
Tomas Restrepo [MVP]
2008-01-25 03:11:15 UTC
Permalink
Hi Waqar,
Post by Waqar Sadiq
I am attempting to develop a custom BizTalk adapter. Being new at this, it
would be very helpful to know how (if possible) can I debug the adapter in
Visual Studio 2005 - using its debugger. Is it possible? If not, then what
are some of the recommended approaches to debugging custome adapters.
Yes, certainly you can debug it! It's not very obvious, though. Basically
you need to deploy your adapter and start the biztalk host where your
adapter will run, and then use the Debug -> Attach to Process option in the
Visual Studio menu to attach to the BTSNTSvcs.exe instance.

Of course, this assumes that your adapter is an regular inproc adapter. If
you're creating an adapter for an isolated hosts, then how to debug it will
depend on were the adapter is meant to run (IIS, or a some kind of custom or
other server process).
--
Tomas Restrepo
http://www.devdeo.com/
http://www.winterdom.com/weblog/
Waqar Sadiq
2008-01-25 04:31:02 UTC
Permalink
that is pretty cool. I am able to debug now.

thanks.
Post by Tomas Restrepo [MVP]
Hi Waqar,
Post by Waqar Sadiq
I am attempting to develop a custom BizTalk adapter. Being new at this, it
would be very helpful to know how (if possible) can I debug the adapter in
Visual Studio 2005 - using its debugger. Is it possible? If not, then what
are some of the recommended approaches to debugging custome adapters.
Yes, certainly you can debug it! It's not very obvious, though. Basically
you need to deploy your adapter and start the biztalk host where your
adapter will run, and then use the Debug -> Attach to Process option in the
Visual Studio menu to attach to the BTSNTSvcs.exe instance.
Of course, this assumes that your adapter is an regular inproc adapter. If
you're creating an adapter for an isolated hosts, then how to debug it will
depend on were the adapter is meant to run (IIS, or a some kind of custom or
other server process).
--
Tomas Restrepo
http://www.devdeo.com/
http://www.winterdom.com/weblog/
Loading...