remote-debugging

How to set up remote debugging on a machine without Visual Studio

女生的网名这么多〃 提交于 2019-11-26 18:53:32
问题 Is there a way to set up Remote Debugging (Msvscom.exe) on a machine that does not have Visual Studio installed? I would like to attach to the service running on the VM so I can debug an issue in the code. I've done this before but both machines have had VS installed. The Dev box is running Visual Studio 2010/Windows 7. The VM is running Windows 7 without Visual Studio. 回答1: I'm going to resurrect this because anyone who's tried to do this knows it's a complete pain in the ass every time, and

How to debug web sites on mobile devices?

試著忘記壹切 提交于 2019-11-26 18:30:58
How do people debug websites on mobile devices? I'd like to be able to manipulate the HTML and CSS similar to using the Inspector in a desktop browser, and debug JavaScript. Meekohi This is the correct answer, not sure why Blaine only left it as a comment! As of iOS 6 Remote Debugging is available: https://stackoverflow.com/a/12762449/72428 On OS X you can use the Safari web inspector on the iOS Simulator AND iOS 6 devices. First enable the Developer menu in Safari on your Desktop. Next, enable remote debugging on your iOS device (or simulator). Settings > Safari > Advanced > Web Inspector (ON

Work on a remote project with Eclipse via SSH

柔情痞子 提交于 2019-11-26 15:36:31
I have the following boxes: A Windows box with Eclipse CDT, A Linux box, accessible for me only via SSH. Both the compiler and the hardware required to build and run my project is only on machine B. I'd like to work "transparently" from a Windows box on that project using Eclipse CDT and be able to build, run and debug the project remotely from within the IDE. How do I set up that: The building will work? Any simpler solutions than writing a local makefile which would rsync the project and then call a remote makefile to initiate the actual build? Does Eclipse managed build have a feature for

Eclipse : Failed to connect to remote VM. Connection refused. [duplicate]

Deadly 提交于 2019-11-26 15:32:30
问题 This question already has answers here : Eclipse Error: “Failed to connect to remote VM” (26 answers) Closed 6 years ago . When ever i tried to launch my eclipse debug(for server side code) i'm getting the following error Failed to connect to remote VM. Connection refused. What's the problem may be? I already tried with most of the solutions out in the web but none of that solved my issue. Could any one can assist me to fix this? Advance thanks.. 回答1: Which server are you using? Like already

Remote debugging C++ applications with Eclipse CDT/RSE/RDT

佐手、 提交于 2019-11-26 14:28:57
问题 I am fighting with Eclipse (in Windows) to make it connect to my Linux box and compile and debug C++ code there remotely. What I have working: CDT/RSE/RDT installed (Eclipse Juno, CDT 8.1.2, PTP(RDT) 6.0.4, RSE 3.4) rdt-server runs on Linux box ( perl ./daemon.pl 4075 ) create local C++ projects (Makefile based) compile and debug local C++ projects create remote projects (using the "Linux" connection to the rdt-server) compile remote projects (Makefile based) Some manual things I can do

deploy/debug java code on a remote server using Intellij

左心房为你撑大大i 提交于 2019-11-26 11:11:27
问题 I want to run my java code on a remote server for faster speed (The server is very powerful). What I want is to connect my Intellij to that remote server and run my code. But I want to still use the IntelliJ on my local machine (i.e. my laptop). I found a config section in IntelliJ which is in Default Setting->Build-executation-deployment-> Deployment and there I can set the address of my remote server and username and password. But I don\'t know what to do next. 回答1: There is a step by step

Running java with JAVA_OPTS env variable has no effect

孤者浪人 提交于 2019-11-26 10:30:39
问题 In a shell script, I have set the JAVA_OPTS environment variable (to enable remote debugging and increase memory), and then I execute the jar file as follows: export JAVA_OPTS=\"-Xdebug -Xrunjdwp:transport=dt_socket,address=8001,server=y,suspend=n -Xms512m -Xmx512m\" java -jar analyse.jar $* But it seems there is no effect of the JAVA_OPTS env variable as I cannot connect to remote-debugging and I see no change in memory for the JVM. What could be the problem? PS: I cannot use those settings

How do I deal with a ClassNotLoadedException while debugging?

社会主义新天地 提交于 2019-11-26 08:36:59
问题 So I\'m (remotely) debugging a java/jboss application in Eclipse, stepping through line by line. At one point, an array of GridSquare objects ( GridSquare is a fairly simple, standalone class, contains a few properties and methods) is created by a method call, i.e: GridSquare[] squares = this.theGrid.getSquares(14, 18, 220, 222); ...While when I actually execute the code, the squares array does get populated with GridSquare objects, I get something odd when stepping through the code and

How to debug web sites on mobile devices?

跟風遠走 提交于 2019-11-26 06:26:30
问题 How do people debug websites on mobile devices? I\'d like to be able to manipulate the HTML and CSS similar to using the Inspector in a desktop browser, and debug JavaScript. 回答1: This is the correct answer, not sure why Blaine only left it as a comment! As of iOS 6 Remote Debugging is available: https://stackoverflow.com/a/12762449/72428 On OS X you can use the Safari web inspector on the iOS Simulator AND iOS 6 devices. First enable the Developer menu in Safari on your Desktop. Next, enable

Work on a remote project with Eclipse via SSH

非 Y 不嫁゛ 提交于 2019-11-26 05:56:57
问题 I have the following boxes: A Windows box with Eclipse CDT, A Linux box, accessible for me only via SSH. Both the compiler and the hardware required to build and run my project is only on machine B. I\'d like to work \"transparently\" from a Windows box on that project using Eclipse CDT and be able to build, run and debug the project remotely from within the IDE. How do I set up that: The building will work? Any simpler solutions than writing a local makefile which would rsync the project and