Debugging skills that should be available (Java)

Source: Internet
Author: User

------Java Section----------


1. How Tomcat starts debug mode in Eclispe
2. How Java applications with the main method start Debug mode
3. Debugging shortcut keys in Eclispe F5 F6 F7 F8 effect
4. What are the various windows in the Debug view of Eclipse?
5. What do you do with each menu and icon button on each window in the debug view of Eclipse
6. What are the shortcut keys for a quick view of a variable value at a breakpoint
7. At the breakpoint, how to execute a value of the expression when the breakpoint does not go (the breakpoint stops there). For example, the breakpoint stops at list<person> personlist = personservice.querybyrole (roleName); This line of code, how to stop here at the breakpoint Triggering the execution of Personservice.querybyrole (RoleName)
8. How to change the value of the variable during debugging, such as the breakpoint stops at 7 in the code, but the program runs to this breakpoint when the rolename is "admin", but debugging I want to by the way in this test rolename value is the result of the manager, How to achieve the effect when the breakpoint does not go
9. How to know when the breakpoint stops at 7 in the code, how the code is called All the way over (a call b,b c)
10. After resolving the problem of 9, how to view the value of the variable at the top level of the call during the previous call
11. The class that does not explicitly declare the constructor, how to break the point, can make this class new when the breakpoint is stopped
12. How to stop a breakpoint in instance variable access (read and write)
13. How to debug code in a jar package
14. When the jar package does not have the source code, how to debug it through the anti-compilation
. for (String xx:xxlist) {
Xxservice.process (XX);

}
How the above code breaks the dot can make it stop when dealing with the NO. 500 element (assuming that the list has 1500 elements) if the code cannot be changed
16.15 code, how to break the point, can make XX "test" when the time to stop
Ixxinterface xx = Xxfactory.getxxservice ();
When the factory of the above code creates XX, Xx.tostring () is rewritten, how do you know which class xx is an instance of (assuming Ixxinterface is an interface, there are multiple implementations)
18. How to view the values in HashMap when debugging
19. How to view the values in ArrayList when debugging
20. If Tomcat is deployed on another machine, then how to debug on your machine.
21. Common abnormal debugging such as out of NullPointerException, should first determine what. such as Xx.getzz (). Getaa (). handle (); This line of code out of the null pointer, you should first determine what

22. How to find the source package of the jar package on the network

-----------JS section (Chrome)-------------------


1. Find operations similar to Java F5 F6 F7 F8 Action
2. How to view the call stack
3. How to view variable values
4. Debugger; use
See the Java section for other learning needs

-----------CSS section (chrome)-------------------


1. How to view the current style of an element in the debugger
2. How to modify the current style of an element in the debugger

-----------Network section (Chrome)-------------------


1. How to view the current page in the debugger how many URLs are requested
2. How to view request and response data (body and header) for a single network request in the debugger

-----------Interface Section-------------------


1. How to test the Webserice interface with Sopaui
2. How to test the interface of HTTP Rest JSON with Chrome's plug-in advanced rest client

-----------Network section (Wireshark)---------

1. How to grab the bag (local 127.0.0.1 cannot grab the bag)
2. How to filter out network packets where the destination is a specific IP address
3. How to filter out a network packet that is a specific IP address of the source
4. How to export data from an HTTP package

-----------Environment, log view (Linux)---------


1. How to see if the port number is occupied
2. How to view the current release of the system
3. How to see which process is consuming a port number
4. How to see the process number of a program?
5. How to kill a process-what is the difference between 9 and no option (these 5 issues are useful when deploying your environment)
6. VI Operation how to modify files with VI
7. How to save the VI operation
8. VI operation how not to save
9. VI operation how to transfer to the last line of the file (location problem to the environment to see the log this skill is particularly useful, the environment is generally relatively large log)
Vi. VI operation How to jump to the first line of a file
Vi. how to find the Causeby keyword (which is also the most common location problem)
How to find the exception keyword down in the VI operation
VI Operation how to find case-insensitive
14. How to find all the lines containing the error in a directory (for example, a bunch of xx1.log xx2.log xx3.log ...) in a logs directory
15. How to use tar to make a tar.gz/tar bag?
16. How to package zip and unpacking zip (these two issues are useful when you need to back up when locating a problem debugging)
17. How to copy a folder to another machine with one command (two machines are Linux network interoperability)
18. How to find a file with a specific file name in the current directory (including letters)

Debugging skills that should be available (Java)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.