RE: [rules-users] Rules Debugging

2009-05-18 Thread Vikas Phonsa
18, 2009 10:11 AM To: Rules Users List Subject: Re: [rules-users] Rules Debugging David already provided the answer, two more things: * If your rule's consequences are throwing exceptions I've also found it helpful to register a custom ConsequenceExceptionHandler (depending on y

Re: [rules-users] Rules Debugging

2009-05-18 Thread Luis Silva
Hi Vikas, the simple way I see the rules executed is using the Audit View Luis. On Mon, May 18, 2009 at 12:11 PM, Ingomar Otter wrote: > David already provided the answer, two more things: > * If your rule's consequen

Re: [rules-users] Rules Debugging

2009-05-18 Thread Ingomar Otter
David already provided the answer, two more things: * If your rule's consequences are throwing exceptions I've also found it helpful to register a custom ConsequenceExceptionHandler (depending on your actual infrastructure) *Another way to get that information is to use the WorkingMemoryFil

Re: [rules-users] Rules Debugging

2009-05-18 Thread David Sinclair
Vikas, Implement your own AgendaEventListener. Pay specific attention to the beforeActivationFired callback method. That should get you what you want. On Mon, May 18, 2009 at 12:43 PM, Vikas Phonsa wrote: > Hi All, > > I'm using Drools 4.0.7 with Java 1.4. > > Some of my rules are throwing exce

[rules-users] Rules Debugging

2009-05-18 Thread Vikas Phonsa
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() ); a