Remote debugging OpenCms with Eclipse and Netbeans
From OpenCms Wiki
(Difference between revisions)
Cschoenfeld (Talk | contribs) m (jsp debugging help added) |
Marc.johnen (Talk | contribs) |
||
Line 5: | Line 5: | ||
See the posting on the opencms-dev mailinglist for details: http://www.nabble.com/Remote-debugging-OpenCms-with-Eclipse-tf3038442.html | See the posting on the opencms-dev mailinglist for details: http://www.nabble.com/Remote-debugging-OpenCms-with-Eclipse-tf3038442.html | ||
+ | |||
+ | On linux make sure, Eclipse has all the necessary rights. |
Latest revision as of 13:54, 6 November 2008
Keywords: opencms, eclipse, source, jsp, remote, tomcat
Remote JSP Debugging (Eclipse)
In order to make JSP debugging work you first have to set a breakpoint into the desired JSP and debug the application. As soon as the breakpoint is hit Eclipse will ask you for the JSP source path. You have to choose the path of the web application where OpenCms is deployed. Eclipse will then display the JSP source and you will be able to step through it within the debugger. The source used is the one found in WEB-INF/jsp/.
See the posting on the opencms-dev mailinglist for details: http://www.nabble.com/Remote-debugging-OpenCms-with-Eclipse-tf3038442.html
On linux make sure, Eclipse has all the necessary rights.