2 Replies Latest reply on Jun 10, 2009 6:30 AM by gonorrhea

    stepping through Seam core code in debugger

    gonorrhea

      For my Seam 2.x app, I'd like to step thru the Seam core API in my Eclipse debugger.  Any recommendations on the best/easiest way to do this?

        • 1. Re: stepping through Seam core code in debugger
          dro_k

          Download the seam source code jars. Add them in eclipse as source paths (or attach them to the jars in build path). Now you can put breakpoints and debug.

          • 2. Re: stepping through Seam core code in debugger
            gonorrhea

            Thanks.  I actually just got it working by adding the filesystem directory (%SEAM_HOME%/src) to the edit source lookup path in Eclipse.


            This is a very good way to learn how the Seam core API works.  Now where does the magic all start?


            looks like in SeamListener:


            public void contextInitialized(ServletContextEvent event) 
               {
                  log.info( "Welcome to Seam " + Seam.getVersion() );
                  ServletLifecycle.beginApplication( event.getServletContext() );
                  new Initialization( event.getServletContext() ).create().init();
               }