[jboss-jira] [JBoss JIRA] Created: (JBRULES-1568) Java debug not working with multiple rule files

Kris Verlaenen (JIRA) jira-events at lists.jboss.org
Sat Apr 19 13:35:44 EDT 2008


Java debug not working with multiple rule files
-----------------------------------------------

                 Key: JBRULES-1568
                 URL: http://jira.jboss.com/jira/browse/JBRULES-1568
             Project: JBoss Drools
          Issue Type: Bug
      Security Level: Public (Everyone can see)
          Components: Eclipse IDE
            Reporter: Kris Verlaenen
         Assigned To: Kris Verlaenen
             Fix For: 4.0.7


There is an issue with rule breakpoints (in Java dialect) when rules from multiple rule files are loaded.
The generated java consequence class contains not only the imports of its own file but also those of all other rules in the package.
Therefore, the generated code can be different depending on the context the rules are used in.
As a consequence, it is impossible to predict the exact line number in the generated java consequence class, 
necessary for debugging.

This issue can be fixed by making sure all imports are on one and the same line.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list