Questions tagged [remote-debugging]

Remote debugging is the process of running a debug session in a local development environment attached to a remotely deployed application.

While developing applications, developers often need to run the applications on other machines than their development machine. Reasons could be many: big environment setup to run the application (server grade), running on different OSes, preventing the development machine from any damage, actual run on production-like environment and so on,

A remote debugger is installed on remote machine, which is then connected to development machine. Remote debugger allows debugging in debugger just like local process debugging.

For debugging, the developer builds the executable (and dependent modules) locally, copies them (manually or with script) to remote machine, and then begins debugging.

2628 questions
1
vote
2 answers

Required settings to connect to Visual Studio Remote Debugger (msvsmon) over the network

We're trying to get remote debugging working across domains from a windows 7 machine to a windows xp home machine. The machines are VPN'd together using LogMeIn Hamachi. I've checked over the MSDN guide on getting Remote Debugging set up thoroughly…
1
vote
0 answers

Diagnostic Hub Tools cannot run

I'm trying to remotely attach to a process to try and trap a system critical bug. I have the remote debugging monitor for VS2015 running on the clients machine. I can see the process I want to attach to, and when I do the debugger starts. The…
1
vote
1 answer

Unable to start debugging in VS2015 for Azure web app

I'm using VS2015 Update 1 to try and debug my site which I've uploaded in Debug mode to an Azure web app (NOT a vm). I am working from my work domain. I've been following instructions similar to found here…
1
vote
0 answers

unable start debugging F5 under visual studio 2008

I just create a new project ( code above) under visual studio 2008 (En) : int main () { std::cout <<"hello" << std::endl; return 0; } when i make "build solution", the compiler create à mycode.exe. But when i make "start debugging F5", my…
shumi
  • 33
  • 1
  • 5
1
vote
1 answer

Jetty remote debug listens on 0.0.0.0?

I was trying remote debug a webapp. Follows the instruction on this jetty document . I got java process like this. jetty 9682 0.4 2.2 4433620 87568 ? Sl 15:52 0:03…
NYoung
  • 335
  • 3
  • 12
1
vote
1 answer

Getting info in lldb like gdb's info mach-regions?

I have a 3rd party app I am debugging and part of the data I need to look at is in an area of memory allocated by the program after it starts up. If I am in gdb, and I type 'info mach-sections' it gives me a listing of all the allocated memory…
1
vote
1 answer

Remote debugging running process inside docker container

I'm running a node.js application inside a Docker container. I need to debug this application with Intellij Ultimate 15. demoapp: build: . command: 'bash -c "npm install && npm run debug"' ports: - "8989:8989" environment: …
Alkis Kalogeris
  • 17,044
  • 15
  • 59
  • 113
1
vote
1 answer

Tomcat 8 running on Linux with remote debug connection ESTABLISHED from Eclipse but breakpoint doesn't stop

I try to remote debug Tomcat web app which are running in linux i started the tomcat with: JPDA_OPTS="-agentlib:jdwp=transport=dt_socket,address=8111,server=y,suspend=n" in the catalina.sh: ... ... ... #…
user63898
  • 29,839
  • 85
  • 272
  • 514
1
vote
1 answer

Can't see my hybrid mobile app to debug Chrome

I have done all the necessary things to allow me to debug my app on an Android device, by allowing debugging etc but I cannot see the app. I only am able to see the web sessions.. Available to debug I am having issues with the Samsung Galaxy S5 and…
1
vote
1 answer

Debug for multiple servers in the load balance

I have multiple servers in the load balance, I have debug mode only for one from them. Debug can join random, because request doesn't put on debug server. How can I debug in this circumstances? edit: I can't recreate the issue locally. I can use log…
a.chugunov
  • 174
  • 2
  • 9
1
vote
1 answer

Xdebug, Vagrant, UBUNTU, and Netbeans integration

Netbeans, keep giving {remote xdebug waiting for connection} I am using vagrant UBUNTU BOX On Server [xdebug] zend_extension=xdebug.so xdebug.cli_color = 1 xdebug.remote_enable=on xdebug.remote_log="/var/log/xdebug.log" xdebug.remote_connect_back =…
Dahab
  • 518
  • 1
  • 5
  • 23
1
vote
2 answers

Eclipse - Remote java debug not showing variable values

I am remote debugging a java application in Eclipse. I start the remote application with following command; java -Xdebug -Xrunjdwp:transport=dt_socket,address=8001,server=y,suspend=y -jar MyApp.jar And manage to succesfully connect to it in…
1
vote
3 answers

Bluemix remote debugging session not starting

I have followed the Bluemix/Eclipse instructions to setup the Liberty servers in eclipse. Able to do everything with the Bluemix/eclipse tools except for remote debugging. Receiving the following exceptions/errors when I select the "Enable Debug…
1
vote
0 answers

Debug webpage memory and CPU usage, ideally on mobile safari?

I have a web page which has a bug that Ive only seen on one device with mobile safari. My hunch is that its a CPU / memory issue, how can I debug this? In perfect world I could remotely debug this on the actual device (an iPhone 5s), however any…
Evanss
  • 23,390
  • 94
  • 282
  • 505
1
vote
3 answers

VS2010 remote debugging with default transport problem

I need to do remote debugging of managed code (.NET) on a server hosted on a different network. Neither the client or server is on a domain so i have to use the public ip of the server. I'm trying to use Visual Studio -> Attach to process -> default…
DIMMACK
  • 189
  • 6