If you're debugging at break points in Eclipse you'll need to use the ThreadedWorkingMemoryFileLogger to ensure the file is written to whilst the main thread is paused.

There was a fix to this recently (i.e. 5.2.x) as the resulting file was malformed and could not be read by the Audit View.

2011/5/23 Leonardo Gomes <leonardo.f.gomes@gmail.com>
The audit works fine for me with stateless sessions. Did you tried the WorkingMemoryFileLogger ?

Leo.

2011/5/23 Hezi Stern <hezis@delegatecom.com>

I am working with stateless session (Drools 5.1.1) and I wish to view the objects in the working memory (debug purposes)

I understand that in stateless session the audit does not work (not working for me, on breakpoint I get the message “the selected working memory is empty” ).

 

How can I view in breakpoint (or print in runtime) the working memory?

 

Regards,

Hezi

 


_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users



_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users