BizTalk Utilities CV ,   Jobs ,   Code library
 
Go to the front page to continue learning about XML or select below:

Contents

ReBlogger Contents

Previous posts in BizTalk Server

 
 
Page 8600 of 19643

Custom pipeline component debugging

Blogger : BiztalkBlogs.com
All posts : All posts by BiztalkBlogs.com
Category : BizTalk Server
Blogged date : 2007 Mar 06

Here goes a nice tip about custom pipelines debugging.

 

We have to ways to do this:

 

  • The hard way:
    • Open your custom pipeline code on Visual Studio and place the breakpoint in the desired line.
    • Click on the menu Debug >> Attach to process.
    • Select the process BTSNTSvc.exe and click on the Attach button.
    • Drop a message in a configured port and wait until the code hit the breakpoint.
  • The other way:
    • Open your custom pipeline code on Visual Studio and place the breakpoint in the desired line.
    • Go to the custom pipeline project properties page and click on the Debug tab.
    • On the “Start Action” property, select Start external program and then type “Driveletter$\Program Files\Microsoft BizTalk Server 2006\SDK\Utilities\PipelineTools\Pipeline.exe”
    • On the command line arguments property type “customPipeline.btp -d messageInstance.xml -c”
      • customPipeline.btp = path to the pipeline that use your custom component
      • messageInstance.xml = File that contains the message instance
    • Now, just press F5 and wait until the code hit the breakpoint

 

 

Nice huh?


Read comments or post a reply to : Custom pipeline component debugging
Page 8600 of 19643

Newest posts
 

    Email TopXML