remote-debugging

Installing MS debug DLLs for remote debugging

隐身守侯 提交于 2020-01-12 08:27:10
问题 I have a .NET app that I would like to install on a VM for remote debugging purposes. The app uses a native VC++ DLL which links to MFC and the MSVC runtime libraries via DLL. When I run depends on the VM, it says that the DLL needs the following DLLs: mfc90d.dll msvcm90d.dll msvcp90d.dll msvcr90d.dll msjava.dll Also, it reports the following error: Error: The Side-by-Side configuration information for [dll path] contains errors. This application has failed to start because the application

Installing MS debug DLLs for remote debugging

泄露秘密 提交于 2020-01-12 08:27:10
问题 I have a .NET app that I would like to install on a VM for remote debugging purposes. The app uses a native VC++ DLL which links to MFC and the MSVC runtime libraries via DLL. When I run depends on the VM, it says that the DLL needs the following DLLs: mfc90d.dll msvcm90d.dll msvcp90d.dll msvcr90d.dll msjava.dll Also, it reports the following error: Error: The Side-by-Side configuration information for [dll path] contains errors. This application has failed to start because the application

Remote debugging - how to create a port proxy?

自古美人都是妖i 提交于 2020-01-12 08:03:07
问题 I'm trying to access remote debugging port running on box A (Debian) from box B (Windows). On box A I'm running Chrome with --remote-debugging-port=9222 flag and I can see that it works correctly (I can access localhost:9222 from another browser on A). Also, I'm sure that boxes A and B are connected because I can access :80 (apache) running on box A from box B just fine. Thing I need to do now is to allow box B access :9222 on box A. I've done research on port forwarding and iptables rules

How to create a core dump even if the process is normally running? [duplicate]

◇◆丶佛笑我妖孽 提交于 2020-01-12 03:13:08
问题 This question already has answers here : Is it possible to get a core dump of a running process and its symbol table? (4 answers) Closed 5 years ago . Under Linux, when a process crashes, a core dump will be created. However, I want to create a core dump when the process doesn't crash, but looks buggy. A remote expert need the core dump to analyze. Under Windows, we can create a dump file of a process through task manager, and after that, the process is still running. Is it possible under

failed to find free socket port for process dispatcher when trying remote debug

白昼怎懂夜的黑 提交于 2020-01-11 07:14:08
问题 Highlights: windows 10 host machine ubuntu vagrant box (virtualbox) as guest vm using vagrant port forwarding as like this: config.vm.network "forwarded_port", guest: 1234, host: 12340 IDE: IntelliJ IDEA with Ruby plugin The Issue: I've tried to set up remote ruby debug following this guide and getting an error in IDE: " failed to find free socket port for process dispatcher ". It looks this issue is not IntelliJ-specific, I was able to reproduce it with latest RubyMine as well. From IDEA's

Debugging shared libraries remotely with gdb/gdbserver

六眼飞鱼酱① 提交于 2020-01-11 05:31:08
问题 My question is about remote debugging an application on an embedded arm processor using gdb/gdbserver. I can debug the application itself, but the application dynamically links to a shared library which implements an in house communications protocol. I want to be able to set breakpoints within the shared library functions so try to figure out some device discovery problems. I have made sure that the library is compiled with debug symbols and is loaded by gdb on the host side, I can list

Remote Debugging: Failed to connect to remote VM. Connection timed out

自作多情 提交于 2020-01-10 03:54:42
问题 I was remote debugging with Eclipse on my Ubuntu VM fine to a remote WebLogic application, then it stopped working. I have debug turned on in the remote server. From my VM I'm able to telnet into the remote debugging port. I've tried restarting Eclipse and setting the network connection to Direct. It just keeps timing out. Failed to connect to remote VM. Connection timed out. org.eclipse.jdi.TimeoutException In .log: !MESSAGE Failed to connect to remote VM. Connection timed out. !STACK 0 org

Enable Azure VM remote debugging for pre-Azure SDK 2.2 machines

痞子三分冷 提交于 2020-01-07 07:44:08
问题 The introduction of remote debugging for Azure really saved a lot of time, and it usually works fine - as long as your VMs or Cloud Services were created recently. However, I've run into problems while trying to debug an older VM (which is in production, so just recreating it is not an option). I've done everything that is needed for the old VMs to support the VM extensions as described here, installed the remote debugger extension as described in this article, but after clicking "Attach

Remote Debugging with JPDA won't connect to Tomcat through eclipse when using Docker-Compose

廉价感情. 提交于 2020-01-04 04:18:30
问题 I'm very new to Docker so this could be something simple I'm doing wrong. With all the solutions out there I've been able to get remote debugging working with eclipse when using 'Docker run' to launch the Tomcat container. docker run -it --rm -e JPDA_ADDRESS=8000 -e JPDA_TRANSPORT=dt_socket -p 8888:8080 -p 8000:8000 tomcat:8.0-jre8 /usr/local/tomcat/bin/catalina.sh jpda run However when using docker-compose, I get a "Failed to connect to remote VM. Connection refused" dialog. docker-compose

How do I debug a war file on a remote machine?

此生再无相见时 提交于 2020-01-04 01:50:28
问题 If I have a jboss server running on another machine and I scp my war file to that machine, how do I debug the war? what commands would I use? How do I do this in my terminal? 回答1: Run jboss with the debug arguments on the remote machine: -Xdebug -Xrunjdwp:transport=dt_socket,address=54371,server=y,suspend=y address - this will be the port you want to connect on server - signifies it will be the server suspend - will block execution of the application until a debugger connects (specify n if