Debug+trace mode can see the error message of TP during the development process, which can better help the developer to debug. But the debug mode is not simple to set up in the configuration file can be, after looking for data to explore, find an effective method.First of all, you've deployed the Thinkphp project directory.Then note is in the import file Open
To repackage existing APK files, the previous Android signature mechanism: Generating KeyStore, signing, and viewing signature information has been introduced. This article describes two other requirements.
Package with the default debug signature
If you are using eclipse to develop a new program, the default will be a debug signature, which is known to the Earth, but what if you want to repack someone an
Take/apache-tomcat-7.0.26 or/apache-tomcat-7.0.52 for example:
VI startup.sh
In the first row of the configuration, add the following configuration, debug port 8788:
Declare-x catalina_opts= "-server-xdebug-xnoagent-djava.compiler=none-xrunjdwp:transport=dt_socket,server=y, suspend=n,address=8788 "
and restart Tomcat.
Eclipse Configuration:
Enter Debug Configuration:
Select Remote Java applicat
In previous development, debugging was conducted by pressing F5. Sometimes, when the project is deployed in IIS, the Project Server is directed to IIS, it still sets the breakpoint for debugging for the entire project. Recently I encountered a problem where the project is very large and running F5 directly causes vs to become stuck. In this case, it is most appropriate to use Microsoft CLR debug for debugging. First open Microsoft CLR
1. First, install the Android system on VMware2. Install the APK program after the installation is complete,3. Launch APK Program4. Start the terminal on the Andriod and then su to root5. Use the PS command to view the APK process ID to be debugged by the process6. Start Gdbserver on andriod and attach to the process to be debuggedThe specific command is Gdbserver 0.0.0.0:12345--attach [pid] where 0.0.0.0 means Gdbserver accepts any incoming ip,12345 is the listening port number7. Open the remot
Paip. php debug imcompatible debug sever version... with zend debugger
The environment is as follows: php 5.2.6Zend debugger version: 5.2.xPDT 1.0.2.V20080102Zend debugger feature 5.2.15.V20081217Eclipse platform V3.3.1.1
The displayed information is literally translated as the DEBUG server version is incorrect. I guess the PDT version is too low ..
So I downl
When Eclipse uses the debug debuggerDefault setting prompts you to enter the debug page each time the program goes to the breakpoint location ()and personal habits some systems directly into the debugging page, but also some people system does not enter the debugging page debuggingCheck remember my decision here (remember my decision), then the same workspace will always be the default state in the futureIf
-xdebug-xnoagent-xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=nThe above line is used to start the remote debug, the port is 8000,suspend indicates whether the container starts debug, you can see the internal process of Tomcat or jetty boot-dcom.sun.management.jmxremote.port=9999-dcom.sun.management.jmxremote.authenticate=false- Dcom.sun.management.jmxremote.ssl=falseThis line is the boot Java
Remote Debug requires file modification:Environment Windows DevelopmentAdded in the Catalina.bat file under Apache-tomcat-6.0.26\bin in 1.tomcat: Set catalina_opts=-server-xdebug-xnoagent-djava.compiler= none-xrunjdwp:transport=dt_socket,server=y,suspend=n,address=8989Add to Catalina.bat file location: Goto Setargs:d Onesetargs below (the position should be arbitrary).Project location in Tomcat: Apache-tomcat-6.0.41\webapps under, change the name of t
From: https://my.oschina.net/nyp/blog/383673
Mainly look at the picture, see the picture at a glance. Breakpoint is set like Eclipse, just click on it, here are a few breakpoints I set, and the following three windows are used to debug the code, which is similar to eclipse.
Debug frequently used shortcut keys.
F9 Resume programe recovery program
ALT+F10 Show execution point displ
pre-condition Download and configure Aptana Stodio ensure Ruby is installed
Debug rails project with Aptana stodio Install Rub Y-debug-ide
Gem Install Ruby-debug-ideChange directory to Rails project root directory, and create a script folder, and then copy the Bin/rails file to script folder
mkdir script
cp bin/rails script
Add Server
Go Preferences Panel
Sel
Tags: home directory tar test INI print start core findUsing the gcc-g test.c-o test.out compiler, only the plus-G parameter supports GDB debugging;Then gdb./test.out runs the executable file, enters gdb debug mode (GDB), and enters the command after the parentheses;(GDB) Help: View command assistance(GDB) Start: single-line execution(GDB) L: View source program(GDB) N: Executes the next line(GDB) S: Inside the modulated function(GDB) bt: view functio
When debugging with Ndk-gdb, execute $ndk/ndk-gdb--verbose Error "Another debug session Running,use--force to kill it".I checked the NDK official documentation, saying this:--force:by Default, Ndk-gdb aborts if it finds that another native debugging session was running on the same device. U Sing--force would kill the session, and replace it with a new one. Note that the debugged program is *not* killed and would be stopped again.--start:by default, Nd
Use the debug serial port as a common serial portDecember 10, 2014Navigation Guidance and Control laboratoryReprint Please specify: Http://blog.csdn.net/wang_zheng_kaiProblems: The um220 module requires a serial port, and the Development Board does not have the use of free ports.Problem Analysis:
The Mensa Development Board has a total of 4 UART functions as follows:
UART0: The port reserved for Bluetooth, if you want to use, y
In other words, it seems that there is var_dump ($variable)!
PHP is already very simple, but debugging to manually write, very troublesome.
Reply content:
In other words, it seems that there is var_dump ($variable)!PHP is already very simple, but debugging to manually write, very troublesome.
I also like var_dump, large point of, engineering words may see xdebug. But the configuration is very troublesome, also not good use.
Debug in Vardump o
Recently found a not too much impact but very strange things, edit state click Debug, found and before the project is not the same, debugging state Flash, the program is "independent", not under the control of debugging state.Find for a long time only to find, is in Program.cs Riga a piece of code caused.This code is used to let oneself write the software can set local IP address use, need to get administrator privileges. The code is as follows: /** *
1. Navigate to the project root at the command line and start the Spring boot project with the following command:Java-xdebug-xrunjdwp:server=y,transport=dt_socket,address=8000,suspend=n -jar target/ Myproject-0.0.1-snapshot.jarTip: This step essentially opens the debug feature for remote socket Port 8000.2. Open in the IDE of Eclipse in turnRun->debug as->debug
Enter debug mode:1. Set Breakpoints2. Start the debug mode on the servers side3, run the program, in the background encountered a breakpoint, enter the Debug debugging state=============================scope function Shortcut keysGlobal single-Step return F7Global single-Step skip F6Global single-step jump into F5Global single-Step jump selection Ctrl+f5Global
Node. js debugging skills, node. js debugging
Author: zhanhailiang Date:
1. console. log
Similar to front-end debugging, code debugging is performed by printing related variables step by step.
2. Use the Node. js built-in Debugger
Debug through node
JNI Layer Debug Thread crash reasonOne, causing the crash reason:In the thread function of the JNI layer, as long as the function called Env is added, it freezes two, the solution first we should understand: ① (Independence) jnienv is a thread-related variable, that is, thread A has a jnienv variable, thread B also has a jnienv variable, because thread-related, so a A thread cannot use the jnienv struct variable of a B thread.So how do you ensure the
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.