remote-debugging

Remote debugging: No connection to Wildfly 14 on OpenJDK 11 at port 8787

跟風遠走 提交于 2019-12-03 23:35:26
问题 I'm trying to connect my debugger to Wildlfy running on Open JDK 11. Despite Wildfly says: Listening for transport dt_socket at address: 8787 My IDE (IntelliJ IDEA CE 2018.1) claims that it doesn't get any connection: Unable to open debugger port (localhost:8787): java.io.IOException "handshake failed - connection prematurally closed" . I'm starting Wildfly via standalone.sh --debug resulting in the following JAVA_OPTS : -server -Xms64m -Xmx512m -XX:MetaspaceSize=96M -XX:MaxMetaspaceSize=256m

How do I show source code in windbg through ntsd -d?

百般思念 提交于 2019-12-03 23:15:38
问题 I can't make source code show in windbg when I pipe ntsd -d on the target through windbg -k , but it works when I debug locally. I want to debug the very first code execution of Winlogon.exe and LSASS.exe. But to make it easy to reproduce the problem, I made up this setup: I use the CrashMe sample application, with source and symbols pre-built, copied to C:\CrashMe on both the target and host I use Windows Debugging tools for Windows (DTW) version 6.12.0002.633 everywhere. The target is

Unable to display frame variables (PyCharm remote debugger)

醉酒当歌 提交于 2019-12-03 23:11:41
问题 What's the problem? I set up in PyCharm (version 2016.1.4) remote-debugging using the remote interpreter (not Debug Server!) as described here: jetbrains website. When I run in Debug mode the program stops at the break point as it should. But, in the Variables window the variables are not displayed. Instead I get the following Error: Unable to display frame variables I guess this is the same problem: link What did I try? I found this link with a possible solution, but it doesn't work for me.

Run Eclipse project on a remote machine

浪尽此生 提交于 2019-12-03 18:43:53
问题 I have been working on a Java project from my local machine using Eclipse. I am trying to run this on a remote machine. The remote machine is a cluster running on Linux. Right now I have mounted the remote drive and edit the remote file copy through Eclipse. However, I was looking something more robust. Is there any way to do this seamlessly through Eclipse, i.e. each time I run the project, it runs on the remote machine? 回答1: Set your project output folder to the remote folder you mounted

What is the right way to deploy files for a remote debug launch in Eclipse CDT?

只谈情不闲聊 提交于 2019-12-03 16:42:41
My situation: I'm currently trying to use Eclipse CDT as a replacement for a proprietary IDE. I have an enterprise application, which consists of an executable and a lot (30+) of shared library modules. The application is targeted for an embedded non-x86 platform, with POSIX-compatible operating system (QNX or GNU/Linux, depending on the selected toolchain). Because of that, debugging can't be done on a developer's machine. It has to be done remotely. I'm using Eclipse Luna / CDT 8.5 with Remote System Explorer plugin and GDB/DSF Create Process Launcher installed. By means of those plugins

Installing MS debug DLLs for remote debugging

南笙酒味 提交于 2019-12-03 16:29:28
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 configuration is incorrect. Reinstalling the application may fix this problem (14001). I'd prefer not to

Compiling gdb for remote debugging

倖福魔咒の 提交于 2019-12-03 12:56:57
I'm trying to remote debug an application running on arm9 So far I've been able to cross compile and execute gdbserver on my device. get gdb (7.2) sources and extract them ./configure --target=arm-none-linux-gnueabi --with-expat=/usr/local/lib/ make cd gdb/gdbserver ./configure --host=arm-none-linux-gnueabi make tftp gdbserver to my device run and connect via gdb to the device gdbserver "seems" to start correctly and attach itself to my helloworld application When I try to gdb to the remote server, I get "warning: Can not parse XML target description; XML support was disabled at compile time"

How to debug a .NET Core app running in Linux Docker container from Visual Studio

爱⌒轻易说出口 提交于 2019-12-03 12:05:38
I have my own hand written Dockerfile/docker-compose files. I start containers from command line. Now I want to attach VS2017 (not VSCode) to my app inside a Docker (Linux-based) container. It seems it should pretty easy task but I can't find any info on how to do this. I read through the guide https://github.com/Microsoft/MIEngine/wiki/Offroad-Debugging-of-.NET-Core-on-Linux---OSX-from-Visual-Studio carefully. At first it looked like what I needed - a description on how to remotely debug a netcore app running in Linux. But it only tells a part of the story - how to debug via SSH. And just

Delphi 2010 remote debugging - unable to get breakpoints working

故事扮演 提交于 2019-12-03 12:05:08
I recently posted this question about my inability to get Delphi 2010 working with remote debugging. I have not had any success and decided to post up a simple step-by-step test technique that might highlight what I'm doing wrong. THIS IS REALLY IMPORTANT to me - I've used Delphi since V1.0 and earn my living from it. Being stuck like this is a pain and its keeping me on Delphi 7. Anyway, here goes. Ensure that Delphi 2010 has updates 4&5. Fire up Delphi 2010, then File | New | VCL Forms App. Put a button on the form, put 'ShowMessage( 'hello' ) in the button OnClick event. Save the project

How to debug an application running in Docker with IntelliJ?

有些话、适合烂在心里 提交于 2019-12-03 10:53:58
问题 I have a Jetty application running in docker. I would like to debug this application using my local IntelliJ. I am on v 14.1, so I have installed the Docker Integration plugin. Under Clouds, I am using the default values that showed up when I click on the '+'. IntelliJ docs say this should be OK. Here the API URL: http://127.0.0.1:2376 Certificates folder: <empty> I'm not sure what these are used for, so I dont know if these values are right. Under Run/Debug configurations, I am using Docker