[rules-users] Problem with debug Drools in Eclipse
vdelbart
delbart.v at mipih.fr
Thu Sep 6 06:19:57 EDT 2007
Hello,
I want to use the debug mode of my DSLR but when I put a breakpoint the line
number and the view is not correct.
Example :
---------------------------------------------
MY DSLR :
1 - #created on: 6 sept. 2007
2 - package exemple2
3 -
4 - #list any import classes here.
5 - import mcmipih.rules.demo.model.*;
6 -
7 - expander dslDemoMoteurVenue.dsl
8 -
9 - rule "Your First Rule"
10 - when
11 - soit 'variable' étant un/une "Param" tel que
12 - - IEP est égale à "nothing"
13 - - RIO est égale à ""
14 - then
15 - afficher le message "nothing in IEP"
16 - end
---------------------------------------------
In DRL Viewer I have
---------------------------------------------
1 - #created on: 6 sept. 2007
2 - package exemple2
3 -
4 - #list any import classes here.
5 - import mcmipih.rules.demo.model.*;
6 -
7 -
8 -
9 - rule "Your First Rule"
10 - when
11 - variable:Param( IEP == "nothing", RIO == "" )
12 - then
13 - System.out.println("nothing in IEP");
14 - end
---------------------------------------------
But when I put a beakpoint on the line 15 in my DSLR, my program don't stop.
But when I put the breakpoint on the line 13, my program stop in the then.
The reason is all the conditions like this is not count :
soit 'variable' étant un/une "Param" tel que
- IEP est égale à "nothing"
- RIO est égale à ""
number of line : 3
but in the DRL Viewer I have :
variable:Param( IEP == "nothing", RIO == "" )
number of line : only 1
And the debug takes the DRL and not the DSLR.
Strange !
Vdelbart
--
View this message in context: http://www.nabble.com/Problem-with-debug-Drools-in-Eclipse-tf4391132.html#a12519552
Sent from the drools - user mailing list archive at Nabble.com.
More information about the rules-users
mailing list