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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
