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.

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

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Trivial
    • Resolution: Won't Fix
    • 2.8.1.RELEASE
    • None
    • ROO

    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

            Unassigned Unassigned
            vganesh Venkat Ganesh
            Archiver:
            tmarshall Trevor Marshall

            Dates

              Created:
              Updated:
              Resolved:
              Archived: