[rules-users] Debug rule functions ?

ipeshev ivan.peshev at mobiltel.bg
Thu Jan 26 01:17:20 EST 2012


Hello,

could some give me some tips for debugging *functions* in .drl ?
by now I'm not able to debug *inside the functions* which are called by the
rule sequence.
I follow the 
http://docs.jboss.org/tools/3.0.0.GA/en/drools_tools_ref_guide/html_single/index.html#debugging_rules
JBoss Drools Tools Reference Guide  but what is show there is how to debug a
very simple *rule sequence*. I have no problem with that - following the
guide everything is ok.

BUT
There is nothing shown about a more complex case when there are functions
(java-like) in the .drl file and the rule calls one or more of these
functions. And one function calls another etc. (just like in normal
programming)
When a put a breakpoint inside functions I cannot debug them.
I can only debug the *rule* ("then" section)

Any help would be appreciated?
Or any official info if this supported at all.
versions etc.

Best Regards
Ivan



--
View this message in context: http://drools.46999.n3.nabble.com/Debug-rule-functions-tp3689774p3689774.html
Sent from the Drools: User forum mailing list archive at Nabble.com.



More information about the rules-users mailing list