[rules-users] debug

Mattias Nilsson Grip mattias.nilsson.grip at redpill-linpro.com
Wed Oct 31 08:59:45 EDT 2012


Hi,

release notes for 5.4.0.Final mention that "Breakpoints in Rule RHS are not working with Java dialect".

Try adding this attribute to your rule and see if that makes debugging work:
dialect "mvel"
 
Regards,
Mattias

----- Ursprungligt meddelande -----
Från: "benq2188" <bengisaglam at gmail.com>
Till: rules-users at lists.jboss.org
Skickat: onsdag, 31 okt 2012 10:58:06
Ämne: Re: [rules-users] debug

Hello,

I faced with the same problem. Breakpoints are not being hit by debugger. I
have Eclipse SDK version: 4.2.1 and went through the reference manual of
Drools and followed each step carefully.

-Installed GEF
- Downloaded drools-distribution-5.4.0.Final.zip
-Unzipped it into Eclipse main folder
-Restarted Eclipse
-Defined run time based on the latest Drools project jars included in the
plugin
itself.
-Created Drools Project
-Created new launch configuration for Drools Application.
-Put a breakpoint in the helloworld simple project on the first line of the
section "then".

When I debug it as Drools Application, debugger stops in Java breakpoints
but doesn't stop in drl rule.

Also tried what Bruno suggested but it did not worked too.

Any other solutions, how can I fix it?

Thanks in advance.



--
View this message in context: http://drools.46999.n3.nabble.com/debug-tp3889772p4020597.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
_______________________________________________
rules-users mailing list
rules-users at lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users



More information about the rules-users mailing list