1. Run cmd as Administrator2. Installing Windows ServicesCD C:\Windows\Microsoft.NET\Framework\v4.0.30319 (InstallUtil.exe path, note that the version number of InstallUtil.exe needs to be the same as the version number of the project)3. Installing Windows ServicesInstallUtil.exe d:\ Project file \bin\debug\projecttest.exe (path to project)4. Start the
Bin/debug file to a folder (assuming the name is Windowsservicetest). Copy the Installutil.exe file from the C:\Windows\Microsoft.NET\Framework\v4.0.30319 to the windowsservicetest. Create two files Install.bat and Uninstall.bat files in this folder, respectively, as follows:Install.bat%~dp0installutil.exe%~dp0windowsservice1.exepauseUninstall.bat%~dp0installutil/u%~dp0windowsservice1.exepauseNote Before each command, add a%~dp0 that changes the dire
Due to the special nature of Windows Services, its debugging and commonProgramThere are some differences in debugging. Below I will introduce several methods:1. Recommended Methods by Microsoft1.1 debug the initialization and startup of Windows ServicesWrite another program control service initialization and startup
1
the browser above. But under Windows 2003 Server + IIS 6.0, only "Internal server errors" are reported, without specific information, depressing. In general, you can use the following configuration to allow IIS to start debugging ASP program (marked red option tick), see Figure 1, Figure 2. To appear this configuration entry, in IIS you publish the Web site (generally the default Web site) Right-click, sel
/uecho-----------------------------Echo Service Uninstall succeeded Echo-----------------------------pause Third, debug Windows services.Open the tools in the Visual Studio 2010 toolbar and attach to the process = + Click OK, select the name of the service to debug in the list and click Attach to Debug. In the program you can debug with just F9, note that the Windows service keeps the version cons
see the place.4, the function symbol table lib file and the dynamic library DLL file is consistent (not only the outside name is consistent, internal also must be consistent, to say what)A problem occurred during debugging the Lib and DLL filenames are identical except for the file suffix name. But when the program Sahuan running, every time when the dynamic library is loaded, the corresponding dynamic library is not found. For example, the Libdepend
Debugging tools for Windows is a Microsoft troubleshooting tool and blue screen analysis tool.
The following describes how to use the troubleshooting tool after the computer blue screen:The system restarts after a blue screen appears. A. dmp file named by date is displayed in the minidump folder, which is the file to be analyzed. Next, click "Start Menu>Program→ Debugg
Objective:The Java project is put into a jar to run on Linux, but Linux does not have eclipse to debug, so remote debugging in Windows Eclipse.need to pay attention to IS!!! after eclipse hits the jar, put it in the Lib directory in the Linux environment, make sure the code is consistent two times, and then start the. SH in Linux, and you will be prompted to listen to the port and debug in Eclipse.The execu
The error message "The Visual Studio Remote Debugger does not the edition of Windows" appears because the remote Debugger tries to use Windows authentication by default, and this are only supported in the "Pro" versions of Windows, and Up.However, the remote debugger does work with the ' Home ' versions of Windows, you
First download a tool remote tools for Visual Studio 2012 RC from Microsoft
Remote tools for Visual Studio 2012 RC allows remote debugging, remote testing, and performance profiling on computers without Visual Studio. This tool also allows you to install a developer license on a computer running Windows 8 release preview and deploy a Windows Metro-style applicat
function) are Javascript anonymous functions with the structure: function (P, A, C, K, E, D) {.....ReturnP} (P, A, C, K, E, D ).The key lies in this return. The Final decryption result can be obtained from the top and bottom of the return breakpoint, saving our analysis!Prepare test example
Save the preceding code as test.html
Prepare ie Developer ToolsBefore using IE Developer Tools, set the 'Disable script debugging (Internet exlpore) 'optionHook
Creation of 1.windows Servicevs2012 Add Project Windows service2. Main codeprotected override void OnStart (string[] args) {System.Timers.Timer timer1 = new System.Timers.Timer ( ); Timer1. Interval = 3000;//interval time timer1. Elapsed + = new System.Timers.ElapsedEventHandler (stuadd);//The handler timer1 that is executed during the interval. AutoReset = true;//The System.Timers.Timer.Elapsed event is r
I. Why do I need a Debugger?
Many PHP programmers use echo, print_r (), var_dump (), and printf () for debugging. In fact, this is enough for programmers with rich development experience, during program execution, they can output the values of specific variables to determine whether the program is correctly executed, even the efficiency can be seen (of course, some time functions may need to be used ). So why do we need a special
desktop"; (2) Using Registry Editor, open the registry path: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services \servicename (the service name to debug), select "Type", Modify its value to: the original value or 0x00000100 (if the original value is: 0x00000010 or 0x00000100 =0x00000110);Step 3:Set the service startup time-out (system defaults to 30 seconds), start Registry Editor, open the registry path: HKEY_LOCAL_MACHINE\System \currentcontrolset\control, new DWORD Value " ServicesPipeTime
This is a created
article in which the information may have evolved or changed.
Version information:go:1.8.3Windows:win7/64idea-go-plugin:171.4694.61
Under Windows, when debugging with DLV, if the Golang program introduces a C module, such as a commonly used SQLite module, this error must occur during debugging:· Could not determine version number:could not th
I. Linux tomcat configuration and startup1.catalina.sh the first line to addDeclare-x catalina_opts= "-xdebug-xrunjdwp:transport=dt_socket,server=y,suspend=n,address=8000"2. Start Jpda (This is the boot mode under Tomcat, other servers may be different, but the same is true)./catalina.sh JPDA Start3. Start the Web service./start.shTwo. In the Windows side of the MyEclipse in accordance with the configuration of Ip,port, etc.,Then select source in the
OnStart method for debugging Windows Services
1. Add the following code within the OnStart method
#if DEBUG
System.Diagnostics.Debugger.Launch ();
#endif
The complete code is as follows
protected override void OnStart (string[] args)
{
#if DEBUG
System.Diagnostics.Debugger.Launch ();
#endif
//add method code
Debugging tips Whether the port number is occupied by the--windows ports concept10.0.0.0~10.255.255.255,172.16.0.0~172.16.255.255, 192.168.0.0~192.168.255.255.Port conceptIn network technology, the port has roughly two meanings: the first is the physical port, for example, ADSL Modem, hub, switch, router interface for connecting other network devices, such as RJ-45 Port, SC port and so on. The second is the
1. New Windows Service Project2. Add business logic code on Service1.cs3. After you complete the code, remember to add the installer, or you cannot register as a Windows serviceDescription Description of the corresponding service, the name of the servicename corresponding serviceAccount Select LocalSystem4. Click Create Solution5, the service program is located in the directory do not have spaces, you can c
The following is an example of Virtual PC 2004, which describes the detailed process of using a Virtual PC for Windows kernel debugging.
1, download and install Virtual PC 2004, Conlio.
2, start Virutal PC Console (console), create a new Virtual PC, installation Wizard prompts configure the hard disk, memory and other parameters.
3, install the operating system on the Virtual PC you just created, which s
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.