As your application might have multiple working memories, you need to tell
these debug views which working memory you would like to inspect. You can
do this by selecting your working memory variable in the Variable view (by
default this in the upper right corner in the Java debug perspective). This
should populate these views.
Kris
----- Original Message -----
From: "kingston" <raja_kingston(a)yahoo.co.in>
To: <rules-users(a)lists.jboss.org>
Sent: Thursday, June 21, 2007 4:47 PM
Subject: Re: [rules-users] How do know which rule has fired
Hi,
I am able to create Rule Projects, create drl , dsl files using the IDE
provided by drools.
When i debug using breakpoints on the line workingMemory.fireAllRules();
I dont get to see anything on the Audit , WorkingMemory Global Data and
Agenda views though i assert many objects and execute rules successfully
with global variables properly declared.
I had placed the IDE in plugin folder of my eclipse installation directory
and restarted the eclipse..
Do i need to do anything more to use the views provided by the IDE.
Kris Verlaenen wrote:
>
> The working memory provides methods for adding different types of
> listeners
> (workingMemory.addEventListener(...)).
> The AgendaEventListener can be used to write out additional information
> about which rules have fired.
>
> The Eclipse IDE also provides an audit view which can be used to
> visualize
> a
> tree of events that occured during execution.
> Check the IDE documentation to see how to use the audit view.
>
> Kris
>
> ----- Original Message -----
> From: "kingston" <raja_kingston(a)yahoo.co.in>
> To: <rules-users(a)lists.jboss.org>
> Sent: Thursday, June 21, 2007 2:46 PM
> Subject: [rules-users] How do know which rule has fired
>
>
>>
>>
>> Hi
>>
>> Is there any API Method that would give me the names of the rules that
>> has
>> fired or that has not fired.?
>> Do i need to use Sysouts or use some dummy objects to know which rules
>> have
>> fired?
>>
>> Thanks,
>> kingston.
>> --
>> View this message in context:
>>
http://www.nabble.com/How-do-know-which-rule-has-fired-tf3958506.html#a11...
>> Sent from the drools - user mailing list archive at
Nabble.com.
>>
>> _______________________________________________
>> rules-users mailing list
>> rules-users(a)lists.jboss.org
>>
https://lists.jboss.org/mailman/listinfo/rules-users
>
> _______________________________________________
> rules-users mailing list
> rules-users(a)lists.jboss.org
>
https://lists.jboss.org/mailman/listinfo/rules-users
>
>
--
View this message in context:
http://www.nabble.com/How-do-know-which-rule-has-fired-tf3958506.html#a11...
Sent from the drools - user mailing list archive at
Nabble.com.
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users