Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to debug Drools File (.drl) in eclipse IDE

I am using drools version : 5.5.0.Final

I have added installed drools plugin following below link: Is there any Drools plugin for Eclipse?

and getting nice colorful DRL file editor and drools perspectives.

But the reason I wanted to install drools plugin was to be able to debug and inspect each rules in drl file which does not work.

Basically below steps here doesnt work : http://docs.jboss.org/drools/release/5.2.0.Final/drools-expert-docs/html/ch08.html#d0e8236

I put the debug point in file and run the application in debug mode but it doesnt stop there.

Can anyone please help me in debuging drl files.

like image 659
Suvasis Avatar asked Nov 02 '22 10:11

Suvasis


1 Answers

Declare Dialect type as dialect "mvel" in drl file. Debug control will move to break points which you have pointed in the respective drl file.

like image 121
Nag Avatar answered Nov 15 '22 03:11

Nag