Is it possible to see the generated Java code for the rules? -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Ingomar Otter Sent: Monday, June 08, 2009 12:00 PM To: Rules Users List Subject: Re: [rules-users] Templates / Generated rules debugging
>- Since this is a web application, I cannot debug the rules in Eclipse (unless I am missing something) You are missing something. :-) That's possible. However we have found regular debuggers "not to helpful". Have a look at the WorkingMemoryLoggers, they can give you a detailed insight of what's going on inside Drools, ie. * Facts inserted, changed, retracted * Activations * Rules fired 4.0.7: http://downloads.jboss.com/drools/docs/4.0.7.19894.GA/apidocs/org/drools/audit/WorkingMemoryFileLogger.html (The Drools Eclipse Plugin can be used to view these logs). To be useful, this requires a usable toString, we have created those using apache commmons-lang. Happy hunting! -- Ingomar Am 08.06.2009 um 17:46 schrieb Malenfant, Andre: > Hi, > > > > Can some of your share your technique for debugging/troubleshooting > rules: > > > > Here is the situation: > > > > - I have a web application that uses rules at specific > points. > > - I use templates and decision tables so the actual rules > are compiled by my application using a spread sheet compiler. > > - Since this is a web application, I cannot debug the rules > in Eclipse (unless I am missing something) > > > > I must not be the only one asking this question but I cannot find > answers in the archives. > > > > Thanks, > > > > André Malenfant > > > > _______________________________________________ > rules-users mailing list > [email protected] > https://lists.jboss.org/mailman/listinfo/rules-users _______________________________________________ rules-users mailing list [email protected] https://lists.jboss.org/mailman/listinfo/rules-users _______________________________________________ rules-users mailing list [email protected] https://lists.jboss.org/mailman/listinfo/rules-users
