Uploaded image for project: 'Spring Tool Suite'
  1. Spring Tool Suite
  2. STS-2353

breakpoint is not getting triggered when set on an aspectj controller file.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Trivial
    • Resolution: Won't Fix
    • Affects Version/s: 2.8.1.RELEASE
    • Fix Version/s: None
    • Component/s: ROO
    • Labels:
    • Environment:

      Description

      Set a break point in _Controller.aj file, an example shown below.
      FooController_Roo_Controller [entry] - FooController.update(Foo, BindingResult, Model, HttpServletRequest)
      FooController_Roo_Controller [entry] - FooController.updateForm(Long, Model)

      Test the application and I am able to verify the break point is not getting triggered in STS IDE 2.8.1.

      Workaround:

      Cut the methods from FooController_Roo_Controller.aj and move it to FooController_Roo.java and repeat the exercise. Now I am able to verify the break points do get triggered.

      I remember break points even when placed in the aj files getting triggered but that was long back. Can't remember in which version it worked and when it stopped working.

      Thanks,

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            vganesh Venkat Ganesh
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: