[jboss-jira] [JBoss JIRA] (DROOLS-655) Debug: Line after "THEN" ignored
Marc Dzaebel (JIRA)
issues at jboss.org
Wed Nov 26 03:49:39 EST 2014
Marc Dzaebel created DROOLS-655:
-----------------------------------
Summary: Debug: Line after "THEN" ignored
Key: DROOLS-655
URL: https://issues.jboss.org/browse/DROOLS-655
Project: Drools
Issue Type: Bug
Affects Versions: 6.2.0.CR2
Environment: All (Eclipse Debug)
Reporter: Marc Dzaebel
Assignee: Mark Proctor
Priority: Minor
If "THEN" is directly followed by code, the Eclipse debugger doesn't see the code, e.g. variables are not displayed in the "variables" debug view.
{code}
rule ""
when
then int i=1;
System.out.println( i); // breakpoint set here
end
{code}
Additionally, it's impossible to set breakpoints at the line of "THEN". So the indentation style is forced to always have a line for then. Even smallest rules need to take unnecessary number of lines.
--
This message was sent by Atlassian JIRA
(v6.3.8#6338)
More information about the jboss-jira
mailing list