You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lenya.apache.org by Apache Wiki <wi...@apache.org> on 2006/03/15 18:23:55 UTC

[Lenya Wiki] Update of "HowToLenyaInEclipseDebugger" by RenaudRichardet

Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Lenya Wiki" for change notification.

The following page has been changed by RenaudRichardet:
http://wiki.apache.org/lenya/HowToLenyaInEclipseDebugger

The comment on the change is:
updated howto debug lenya in eclipse, thx Thorsten for the instructions :-)

------------------------------------------------------------------------------
  
  == 2nd way ==
  
+  * Create Lenya Project in Eclipse (see above)
- Start Lenya in a concole using
+  * Start Lenya in a concole using
  {{{
  ./lenya.sh servlet-debug
  }}}
  
+  * Now open in Eclipse the class you want to debug
- Now open Eclipse and goto Java or debug perspective and choose ''Run->Debug...'' 
+  * Goto the Java or debug perspective and choose ''Run->Debug...'' 
- and create a new Remote Java Application for your Lenya project. Make sure to use 127.0.0.1 instead of localhost.
- 
- To start Lenya in debugger choose ''Run->Debug...'' and choose your application and press ''debug''.
- 
+  * Click on "New" to create a new Remote Java Application for your Lenya project. 
+  * Make sure to use 127.0.0.1 instead of localhost.
+  * In the Source tab, add your Lenya project. Cocoon should be added automatically.
+  * Press ''debug''.
+  * In your class, add breakpoints
+  * Run lenya and debug in Eclipse
  
  == Another Way (Tomcat&Eclipse) ==
  

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org