Click here to Skip to main content
Licence 
First Posted 11 Nov 2003
Views 26,010
Bookmarked 18 times

How to debug XLANG schedule

By | 11 Nov 2003 | Article
How to debug XLANG schedule

Introduction

This article will show you how to debug XLANG schedule. Before you begin, you must install XLANG trace located on [Drive]:\Program Files\Microsoft BizTalk Server\SDK\XLANG Samples\XlangTrace.

The steps involved

Step 1

This is a simple one. Receive a MSMQ message queue (blue line) and forward to another MSMQ message queue (red One).

Step 2

Add 2 actions to debug the above schedule (mapped to Logger class of XLANG trace Com)

Step 3

Map the data part

Step 4

Add New Constant (name it debug to invoke the trace process and to disable when release).

Step 5

Add the decision prior to the trace as in the following diagram.

Step 6

  • Compile the schedule
  • Run the schedule. The result will logged on
  • Open the SQL enterprise manager
  • Open XLANG_TRACE database
  • Open trace_table Table

Step 7

To disable the trace - edit the debug constant as false (0) as in the attached figure.

Recompile the schedule. Then you can release the schedule.

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here

About the Author

Alawi Alkaf

Web Developer

Saudi Arabia Saudi Arabia

Member



Sign Up to vote   Poor Excellent
Add a reason or comment to your vote: x
Votes of 3 or less require a comment

Comments and Discussions

 
You must Sign In to use this message board. (secure sign-in)
 
Search this forum  
 FAQ
    Noise  Layout  Per page   
  Refresh
-- No messages --
Try changing the 'Date Filter' value

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

Permalink | Advertise | Privacy | Mobile
Web04 | 2.5.120517.1 | Last Updated 12 Nov 2003
Article Copyright 2003 by Alawi Alkaf
Everything else Copyright © CodeProject, 1999-2012
Terms of Use
Layout: fixed | fluid