Uploaded image for project: 'Red Hat CodeReady Studio (devstudio)'
  1. Red Hat CodeReady Studio (devstudio)
  2. JBDS-3896

Unable to install breakpoint even if line number set to be generated

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • 12.x
    • None
    • upstream
    • None
    • Hide

      1. Create an html5 app
      2. Put a breakpoint on MemberService.listAllMembers()
      3. Debug As > Debug on Server (choose Wildfly 10)
      4. When the web page is displayed, the breakpoint is hit and you get the error

      Show
      1. Create an html5 app 2. Put a breakpoint on MemberService.listAllMembers() 3. Debug As > Debug on Server (choose Wildfly 10) 4. When the web page is displayed, the breakpoint is hit and you get the error
    • NEW

    Description

      I am unable to get breakpoints to work for a html5 project running on WildFly.

      I tried to verify JBIDE-20804 so I created the html5 project from central, set a breakpoint in MemberService.listAllMembers() (line 72) and then selected Debug on server -> WildFly. The server was started in debugging mode and the project started deploying, but then I got an error:
      Unable to install breakpoint in org.jboss.tools.example.html5.rest.MemberService$$$view3 due to missing line number attributes. Modify compiler options to generate line number attributes.
      Reason: Absent Line Number Information

      I checked and this option was checked in Preferences -> Java -> Compiler. Also, I even checked the project settings (.settings/org.eclipse.jdt.core.prefs) and it has:
      org.eclipse.jdt.core.compiler.debug.lineNumber=generate

      This happened to me on Mac with WildFly 8, 9 and 10. And psrna checked this for me on Linux and the result was the same.

      I'm not really sure which component this should belong to, it looks like an upstream issue.

      Attachments

        1. breakpoint-error.png
          breakpoint-error.png
          29 kB
        2. compiler-settings.png
          compiler-settings.png
          113 kB
        3. html5-page.png
          html5-page.png
          128 kB
        4. lineNumber.png
          lineNumber.png
          95 kB

        Issue Links

          Activity

            People

              snjeza_jira Snjezana Peco (Inactive)
              exd-mmalina Martin Malina
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated: