remote-debugging

How to set up ADB for remote machine development and local device deployment

只谈情不闲聊 提交于 2019-11-28 15:59:19
My scenario is this: I telework from home and log into my work machine via Windows Remote Desktop. I use Eclipse as my development environment for Android apps on my work computer. Using ADB, I would like to be able to deploy apps from my work computer to a device on my home network, for scenarios where the emulator doesn't do the app justice. I found this post, which discuss a very similar scenario, with the exception of deploying to an emulator running on a local PC, instead of deploying to a local device: http://www.41post.com/5003/programming/android-adb-remote-emulator-access I'm trying

How to debug hadoop mapreduce jobs from eclipse?

喜你入骨 提交于 2019-11-28 08:25:17
I'm running hadoop in a single-machine, local-only setup, and I'm looking for a nice, painless way to debug mappers and reducers in eclipse. Eclipse has no problem running mapreduce tasks. However, when I go to debug, it gives me this error : 12/03/28 14:03:23 WARN mapred.JobClient: No job jar file set. User classes may not be found. See JobConf(Class) or JobConf#setJar(String). Okay, so I do some research. Apparently, I should use eclipse's remote debugging facility, and add this to my hadoop-env.sh : -agentlib:jdwp=transport=dt_socket,server=y,suspend=y,address=5000 I do that and I can step

.Net remote debugging Win2003 website with VS 2012

痴心易碎 提交于 2019-11-28 07:42:32
问题 I am trying to install the VS2012 remote debugger X86 version on a Windows 2003 in order to debug a web app from a computer that only has VS2012 installed. I am getting Newer Windows version required for this program message. Does VS2012 remote debugger still supports Windows 2003? Is there another way to debug the app using VS2012? I've tried to connect the VS2010 remote debugger with VS2012 but it didn't work. 回答1: The VS2012 remote debugger doesn't support Windows 2003 http://www.microsoft

How to do remote debugging with Eclipse CDT without gdbserver?

£可爱£侵袭症+ 提交于 2019-11-28 07:37:49
We're using the Eclipse CDT 5 C++ IDE on Windows to develop a C++ application on a remote AIX host. Eclipse CDT has the ability to perform remote debugging using gdbserver. Unfortunately, gdbserver is not supported on AIX. Is anyone familiar with a way to debug remotely using Eclipse CDT without gdbserver? Perhaps using an SSH shell connection to gdb? finally I got gdb run remotly anyhow now. At the Bug-symbol on the taskbar I took Debug Configurations - GDB Hardware Debugging. In Main C/C++ Applications I set the full path on the Samba share of the executable ( X:\abin\vlmi9506 ). I also set

Adb over wireless without usb cable at all for not rooted phones [duplicate]

元气小坏坏 提交于 2019-11-28 04:04:01
This question already has an answer here: How can I connect to Android with ADB over TCP? 32 answers I want to debug Android APPs on my phone (LG nexus 4). I'm travelling and I forgot my USB cable. When I work at home I can do it just connecting the USB cable and executing the command 'adb tcpip 5555'. Then I can unplug the USB cable and connect via 'adb connect IP'. But now I cannot execute the first command because I don't have a cable. I don't understand why I have to do it every time, since I already execute the 'adb tcpip' command before. What I tried now: I installed a terminal

Remote debug Jetty (no mvn, no plugins)

风流意气都作罢 提交于 2019-11-28 03:57:50
Past scenario - Work with Tomcat and start in debug mode and Remote Debug with Eclipse. - Define a port and connect with eclipse in this debug/remote port. - Use to debug servers in other hosts/servers Today scenario Now, I'm using Jetty and I've try to do the same, but with no success, could anyone help-me with that? I did not use Maven, and did not want to start Jetty inside from my Eclipse. Environment: Windows XP Java V. 5 Jetty V. 6.1.15 Links: http:// docs.codehaus.org/display/JETTY/Debugging This did not help me! http:// docs.codehaus.org/display/JETTY/Debugging+Jetty+with+Eclipse http:

How to wait until remote .NET debugger attached

这一生的挚爱 提交于 2019-11-28 03:39:04
Today I ran into a problem were I needed to remote-debug a program. The program was launched from another system, so I really don't have an opportunity to interact with it on the command line. I could change its source easily though. What I needed to happen was for the program to start normally, and then wait for me to attach to it with a debugger. I couldn't come up with a way to do it that made me happy. I did find the bug, but without the help of the debugger. while(true) { } Kept the process alive, and then I could "set next statement" with the debugger, but it seemed awkward and rude.

How can I receive OutputDebugString from a service?

巧了我就是萌 提交于 2019-11-28 02:54:40
问题 I'm trying to catch all OutputDebugString messages (including those from services) using the following code. It worked fine until I migrated to Windows 7. The problem is that since Windows Vista services are running in the low level Session #0, some people say that it's impossible to catch them and some that it is. What do you think? Is it possible to modify the following code by increasing some rights to be able to receive OutputDebugString messages from the Session #0? In other words; is it

Unable to debug .Net Code. Could not attach to process. SQL CLR Remote Debugging

廉价感情. 提交于 2019-11-27 22:52:48
问题 I'm trying to debug a CLR based StoredProcedure in Visual Studio 2012 RTM. I have a Sql Database Project. When I try to debug my script file using RightClick -> Execute with debugger it pop ups a warning about harmfulness of attaching a process and when I accept it just say that : Unable to debug .Net Code. Could not attach to SQL Server process on 'Devserver'. I've done many different things : I've added my domain user to sysadmin SQL Server Role. I've run MSVSMON.EXE on the Remote Server

How can I debug a seemingly hardware-dependent issue with my Android app without access to the hardware?

倖福魔咒の 提交于 2019-11-27 22:40:38
问题 I have an open-source application on the Android market. It seems to work fine for me (with over 1,000 active installs, I have to presume that it works for most people). I recently got a bug report that indicated a problem for at least three users on Samsung phones (Intercept and Captivate). I have been unable to reproduce the problem on my ADP2 and on the emulator. In order to get enough data to diagnose the problem, I first tried to add logging and then I asked users to submit logs via Log