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

Debugging: Breakpoints are only considered for code with variables

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 4.0.4
    • 4.0.3
    • drools-eclipse
    • None

    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

      Attachments

        Activity

          People

            kverlaen@redhat.com Kris Verlaenen
            incunabulum_jira incunabulum (Inactive)
            Archiver:
            rhn-support-ceverson Clark Everson

            Dates

              Created:
              Updated:
              Resolved:
              Archived:

              PagerDuty