[jboss-jira] [JBoss JIRA] Commented: (JBRULES-1174) debug steps into "when" statement

Mark Proctor (JIRA) jira-events at lists.jboss.org
Wed Sep 5 21:58:11 EDT 2007


    [ http://jira.jboss.com/jira/browse/JBRULES-1174?page=comments#action_12375558 ] 
            
Mark Proctor commented on JBRULES-1174:
---------------------------------------

here is the print.outs:
Registering breakpoint for org.drools.examples.Rule_Hello_World_0:1
Registering breakpoint for org.drools.examples.Rule_GoodBye_0:2
Source before MVEL Compilation:
System.out.println( "1)" + message );
    m.message = "Goodbyte cruel world";       
    m.status = 1;                          
    System.out.println( "1)" + message );
    System.out.println( "1)" + message );    
    System.out.println( "2)" + message );
Source before MVEL Compilation:
m.setMessage( message );               
        System.out.println( "3)" +  message );
        System.out.println( "4)" + message );
Expression Decompile
-------------
(0) DEBUG_SYMBOL :: [SourceLine:1]
(1) NODE [LiteralDeepPropertyNode] :: out.println( "1)" + message )
(2) OPERATOR [END_OF_STATEMENT]: ;

(3) DEBUG_SYMBOL :: [SourceLine:2]
(4) NODE [DeepAssignmentNode] :: m.message = "Goodbyte cruel world"
(5) OPERATOR [END_OF_STATEMENT]: ;

(6) DEBUG_SYMBOL :: [SourceLine:3]
(7) NODE [DeepAssignmentNode] :: m.status = 1
(8) OPERATOR [END_OF_STATEMENT]: ;

(9) DEBUG_SYMBOL :: [SourceLine:4]
(10) NODE [LiteralDeepPropertyNode] :: out.println( "1)" + message )
(11) OPERATOR [END_OF_STATEMENT]: ;

(12) DEBUG_SYMBOL :: [SourceLine:5]
(13) NODE [LiteralDeepPropertyNode] :: out.println( "1)" + message )
(14) OPERATOR [END_OF_STATEMENT]: ;

(15) DEBUG_SYMBOL :: [SourceLine:6]
(16) NODE [LiteralDeepPropertyNode] :: out.println( "2)" + message )
(17) OPERATOR [END_OF_STATEMENT]: ;

==END==
onBreak call for org.drools.examples.Rule_Hello_World_0:1
Continuing with step-over
1)Hello World
onBreak call for org.drools.examples.Rule_Hello_World_0:2
Continuing with step-over
onBreak call for org.drools.examples.Rule_Hello_World_0:3
Continuing with step-over
onBreak call for org.drools.examples.Rule_Hello_World_0:4
Continuing with step-over
1)Goodbyte cruel world
onBreak call for org.drools.examples.Rule_Hello_World_0:5

> debug steps into "when" statement 
> ----------------------------------
>
>                 Key: JBRULES-1174
>                 URL: http://jira.jboss.com/jira/browse/JBRULES-1174
>             Project: JBoss Rules
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: Eclipse IDE
>            Reporter: Mark Proctor
>         Assigned To: Ahti Kitsik
>         Attachments: .log, moz-screenshot-44.jpg
>
>
> I've re-created where it stepped into the "when" part, although it seems to do it on random.

-- 
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