In the process of summarizing Java knowledge, the previous article mentioned that Javadoc can extract the comment information in the file, but because some environment variables in the CLASSPATH do not need to set, it is deleted, the cmd command can be extracted from the Java file information. But I tried it in Eclipse, but there was a similar problem. Review the Code debugging (server-side) and web-debugging (client) in eclipse today, because it's actually working, so just write about it.
1. Code debug Mode (1)(console print) 1. Server System.out.println (); Eclipse2. Client Console.log (); A JavaScript breakpoint is a magical point that allows the program to stay on the line and wait for debugging. (It's like adding a slow motion to a movie)1.1 Service-side breakpoint debugging:1. Add a breakpoint (double-click the line number, or right-click [Toggle Breakpoint]) 2 on the row number. Start Debugging (test code) (execute the Main method, debug as Java appication) (Execute JUnit test method, JUnit Test) 3. Tracking code (F6 the next line, F5 the method of entering the row, F8 cancel this debug) 4. Display the value of the variable (select the variable, right-click Watch, or Inspect) 5. Remove Breakpoint1.2 Client breakpoint debugging:1. Add a breakpoint (click on the line number or right-click on the Add breakpoint on the row number). 2. Start debugging (the function on the direct Operation page) 3. Tracking code (F10 next line, F11 into the bank,) 4. View variable 5. Remove Breakpoint
Commissioning | Debugging in Java