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

I am using drools version: 5.5.0.Final

I added the installed drools plugin as follows: Is there a Drools plugin for Eclipse?

and get a beautiful colorful DRL file editor and drool perspective.

But the reason I wanted to install the drools plugin was to debug and check all the rules in a drl file that does not work.

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

I put a debug point in a file and run the application in debug mode, but it does not stop there.

Can anyone help me debug drl files.

+4
source share
1 answer

Declare the dialect type as the "mvel" dialect in the drl file. Debugging control will move to the breakpoints that you specified in the corresponding drl file.

+1
source

All Articles