How to use Eclipse + Struts Studio how to debug

xiaoxiao2021-03-06  49

Usually we write the program, most of the debugging procedure uses system.out.println () to print the desired data in the background if you use Eclipse Struts Studio to develop, I will introduce you to Struts Studio. Set the breakpoint debugger. First after installing Struts Studio, the following Struts Studio is made in the [Preference] under the [Window] menu, mainly Tomcat's root dir (root path) is shown below: First set the breakpoint in the program, as follows The most important thing about the picture is the next to launch Tomcat. Look at the picture below, the web program will stop when the Web program is running to the breakpoint. If we can see the IRESULT at this time. The value is 1, but this debug can only set breakpoints for the Java file, and the JSP file can not be. This is a simple example. In order to let everyone know how to debug, I hope to help everyone. - Big Belon 2004-9-30

转载请注明原文地址:https://www.9cbs.com/read-111563.html

New Post(0)