Uploaded image for project: 'JBRULES'
  1. JBRULES
  2. JBRULES-1339

Debugging: Breakpoints are only considered for code with variables

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 4.0.3
    • Fix Version/s: 4.0.4
    • Component/s: drools-eclipse
    • Labels:
      None
    • Environment:

      Linux (Kubunut 7.10), Current Eclipse 3.2.x, Drools 4.0.3

      Description

      In my installation breakpoints in drl files are only recognized
      if there is any variable involved. Here is a small example

      1) Works ok, while debugging the application stops at the breakpoint in
      System.out.println()

      rule "TestRule"
      when
      eval (1==1)
      then
      int i = 1;
      System.out.println("Breakpoint ok" +i);
      end

      2) The breakpoint in System.out.println() is ignored. The rule fires
      nevertheless....
      rule "TestRule"
      when
      eval (1==1)
      then
      int i = 1;
      System.out.println("Breakpoint ignored");
      end

      Tested via the Debug > As > Drools

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                KrisVerlaenen Kris Verlaenen
                Reporter:
                incunabulum incunabulum
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: