Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
PUBLIC CLOUD
PRIVATE CLOUD
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Web CMS (TeamSite)
How to Debug WFT Files
iw_store
Hi ALL,
I debug WFT files by creating a File and writing to that file at some particular points like System.out.println in JAVA Language.
Please tell me any other suitable methods to debug WFT files.
Thanks and Regards,
San.
Find more posts tagged with
Comments
Nicholas
You can use iw_debug_mode.
For details you can refer workflow developer guide.
Thanks Nicholas
iw_store
Hi,
According to my understanding iw_debug_mode and iw_output_file are used to debug instantiation form not the WFT file as whole.
Iam asking for WFT file as whole.
If iam wrong please correct me.
Thanks and regards,
San.
Adam Stoller
There are several different aspects of WFT debugging.
First, as already has been mentioned, the iw_debug_mode and iw_output_file settings - which allow you to verify the instantiation of the WFT into a job description file (useful for making sure that variables and conditional code are expanded correctly).
Second, as you mentioned in your original post, the ability to print things out into a debugging log file - using embeded Perl code for receiving print() and/or printf() output (useful for making sure that embeded code is working correctly despite being processed multiple times during instanatiation)
Third, the debugging of externaltask and cgitask scripts - although most often written in Perl, these can be written in other programming languages as well, and you'd have to make use of the appropriate debugging techniques for the language in which the scripts are written.
If you think you need some other form of debugging that isn't (or you believe isn't) covered by one of the above - please elaborate on your concern.
--fish
Senior Consultant, Quotient Inc.
http://www.quotient-inc.com