After writing the breakpoints in Visual Studio debugging , I would like to share some of the debugging techniques I used, and some background knowledge needs to be introduced before I can find writing.Here are a few articles written in csdn this February, such as how to use the difference between the first exception handling opportunity and the second exception handling opportunity to quickly locate the location where the exception occurred, and how to set up an article such as a function breakp
The steps are as follows:(1) Locate the –run– in the tab and find the –edit configurations(2) Click on the green plus– to find Maven point in(3) Fill in the following fixed values in command line and profiles as below, then fill in the path of your project in working directoryThe command is: clean jetty:run -DskipTestsThe name is random, this is called Jettydebug .(4) You can also set the MVN clean install and mvn jetty:run in the same manner as the two commands(5) In that case, we have three "s
JBoss server startup method:
Assume that the installation directory of JBoss is $ jboss_home, And the start methods of debug mode in Windows and Linux are as follows:Windows:Find the JBoss Startup File run. BAT in windows and search for 8787. You can find the following sentence:
Rem set java_opts =-xdebug-xrunjdwp: Transport = dt_socket, address = 8787, Server = Y, suspend = n % java_opts %
Remove the co
In Ubuntu, the default setting for PHP is not to display the error message, if the program error will show "Unable to process this request error", which is very inconvenient in the development environment.Actually, we just need to edit the Apache configuration file.1. My Apache configuration file directory is/etc/apache2/apache2.confsudo vim/etc/apache2/apache2.confThen add the following two lines to the endPhp_flag display_errors onPhp_value error_reporting 20392. Restart Apachesudo service apa
A problem that has plagued me for a long time has not been studied before, and has finally been solved today.When using Eclipse, if Tomcat sets a hot load, when some programs are modified, Tomcat automatically loads the modified content ....But many times will automatically jump to debug mode, is very annoying ...The cause is a setup problem with Eclipse: The default "Suspend execution on uncaught exception
Open PHP debug mode under Ubuntu Error information solution
In Ubuntu, the default setting for PHP is not to display the error message, and if the program error will show "Unable to handle this request error prompt", this is very inconvenient in the development environment.
Actually, we just need to edit the Apache configuration file.
1, my Apache configuration file directory is/etc/apache2/apache2.conf
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.