[rules-users] Rules Debugging

Vikas Phonsa VPhonsa at mercuryinsurance.com
Mon May 18 12:43:25 EDT 2009


Hi All,

I'm using Drools 4.0.7 with Java 1.4.

Some of my rules are throwing exceptions and my goal is to get a list of names of all rules that are being executed (till the point the exception is thrown). 

I have tried doing 
stateLesssession.addEventListener( new DebugAgendaEventListener() );
and it does give me a bunch of information about the agenda. But I want to narrow it down to the rules that are actually executed.

Which event it called right after the execution control goes inside a rule (before the 'when' condition is executed)? 

Thanks,
Vikas


This email and/or any files or attachments transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed, and may contain information that is privileged, confidential and exempt from disclosure under applicable law. If you are not the intended recipient, or the employee or agent responsible for delivering the message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this e-mail and/or any files or attachments transmitted with it is strictly forbidden. If you have received this email in error, please delete the e-mail and/or any files or attachments, and also notify the system manager (PostMaster at mercuryinsurance.com) of the error. Please note that any views or opinions presented in this email are solely those of the author and do not necessarily represent those of the company. Finally, the recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email and/or any files or attachments transmitted with it.






More information about the rules-users mailing list