1 Reply Latest reply on May 19, 2015 10:34 AM by brunocleite

    Debug not working with Arquillian on Glassfish 4.1 + Netbeans 8.0.2

    brunocleite

      I'm trying to debug an Arquillian test case running on Netbeans 8.0.2 and using application server Glassfish 4.1.

       

      The debugger is connected successfully:

      Listening on 37593

      User program running

       

      The breakpoints work for the "createTestArchive" method

      Selection_201.png

       

      But not for test methods:

      Selection_202.png

       

       

      JUnit4-only tests debugs fine.

       

      Tested with glassfish-embedded and breakpoints are working fine too.

       

       

      My Maven dependencies:

       

               <dependency>

                  <groupId>junit</groupId>

                  <artifactId>junit</artifactId>

                  <scope>test</scope>

                  <version>4.12</version>

              </dependency>

              <dependency>

                  <groupId>org.jboss.arquillian.junit</groupId>

                  <artifactId>arquillian-junit-container</artifactId>

                  <scope>test</scope>

                  <version>1.1.7.Final</version>

              </dependency>

              <dependency>

                  <groupId>org.jboss.arquillian.protocol</groupId>

                  <artifactId>arquillian-protocol-servlet</artifactId>

                  <scope>test</scope>

                  <version>1.1.7.Final</version>

              </dependency>

              <dependency>

                  <groupId>org.jboss.shrinkwrap.resolver</groupId>

                  <artifactId>shrinkwrap-resolver-depchain</artifactId>

                  <version>2.1.1</version>

                  <scope>test</scope>

                  <type>pom</type>

              </dependency>

                <dependency>

                          <groupId>org.jboss.arquillian.container</groupId>

                          <artifactId>arquillian-glassfish-managed-3.1</artifactId>

                          <version>1.0.0.CR4</version>

                          <scope>test</scope>

                      </dependency>

       

      Thanks and regards.