remote-debugging

How do I start the debugging process on a remote computer?

纵饮孤独 提交于 2019-11-29 03:06:50
问题 I'm setting up a Visual studio remote debugging session for a standard Windows Forms application written in C#. On the Internet are a lot of stories about how to set up the remote computer and MSVCMON.EXE, but I can't find any stories about what to do on my computer to make sure that my program is debugged on the remote computer when I press START DEBUGGING. So what should I do to make remote debugging possible? 回答1: After some research I have found how to do it, even if you are working in a

How can you use php xdebug if you are on NAT behind a firewall?

牧云@^-^@ 提交于 2019-11-29 02:53:34
问题 I have the following use case for debugging a PHP application: The developer does have a private IP address The developer can connect only to a limited number of ports from the server, like 80, 8080, 3128, others being limited by the outgoing firewall. Still if the outgoing requests are HTTP he could use a proxy that does not have this limitation. the server machine is fully configurable Is is possible to use xdebug in this circumstance? How? It is possible to establish a VPN but this is not

Attach visual studio debugger to electron app

喜你入骨 提交于 2019-11-29 02:28:27
问题 I'm attempting to debug electron app from visual studio 2017 (and not vscode) from scratch. I created a console nodejs project, install and save electron. Project structure: Content of app.js (taken from website of electron): 'use strict'; const { app, BrowserWindow } = require('electron') const path = require('path') const url = require('url') // Keep a global reference of the window object, if you don't, the window will // be closed automatically when the JavaScript object is garbage

How can I enable remote debugging for SBT in windows?

人盡茶涼 提交于 2019-11-29 02:22:08
问题 I would like to accomplish running the equivalent of this sbt -jvm-debug 5005 However I don't seem to be able to pass in args in Windows. This is what I am seeing >sbt -jvm-debug 5005 [info] Loading project definition from [myProject] [info] Set current project to [myProject] (in build file myProject) [error] Expected letter [error] Expected symbol [error] Expected '!' [error] Expected '+' [error] Expected '++' [error] Expected ';' [error] Expected end of input. [error] Expected 'show' [error

Debugging winMobile application on remote device (PDA, ARM) from Visual Studio

Deadly 提交于 2019-11-29 00:28:23
Hi! I have some PDAs (windows mobile) to test my application. One of them is HTC Touch Dual, and it have some bugs in debugging . There is another ARMv6 device I can use, but it's far far away. So I can't use USB cable, but can use TCP/IP (internet, not intranet). Do you know, how can I connect to remote windows mobile device to debug application on it? We tried different ways and now we know this: ActiveSync is bad. It disables all external connections to device and it's impossible (or just I don't know how) to remotely debug device while it's connected via ActiveSync. We have created VPN,

Visual studio 2012 profiling remotely debugged process

瘦欲@ 提交于 2019-11-28 23:28:02
Is it possible to profile remotely debugged process? I have tried using tips from article on remote debugging with VS 2012 which don't help as, when launching profiler, it asks for paths to dll and exe debugged: these paths are not treated as paths on the remote machine even though you apply remote debugging settings(as in the article). Unfortunately, that's not possible (at least as I understood by lot of research) directly from Visual Studio IDE and the only possible way for now is using stand-alone profiler. NOTE : the following applies to Visual Studio 2013, but might be a guideline for

Azure Website Remote Debugging with git deploy not working

有些话、适合烂在心里 提交于 2019-11-28 21:41:27
问题 I've been trying out the new Remote Debugging feature for Azure Websites, but I think I may have come across an issue: I can only get it to work properly if I use Web Publish. If I deploy a site with local git deploy, the debugger attaches but the debug symbols aren't loaded (breakpoints show the warning). I tried both setting the Release configuration to include PDB files (since Azure's git deploy uses the Release configuration by default) and by using a custom deploy script generated by the

Remote debugging Java 9 in a docker container from IntelliJ IDEA

Deadly 提交于 2019-11-28 21:37:55
I have a Dockerfile with this content: FROM openjdk:9 WORKDIR /project ADD . /project EXPOSE 5005 My docker-compose.yml looks like this: version: "3.2" services: some-project: build: . ports: - target: 5005 published: 5005 protocol: tcp mode: host command: "java '-agentlib:jdwp=transport=dt_socket,server=y,suspend=y,address=5005' SomeClass" When I do docker-composer up I see a message " Listening for transport dt_socket at address: 5005 ". But when I try to connect with jdb or Idea I get " java.io.IOException: handshake failed - connection prematurally closed ". Everything works fine if I

Mono remote debugging from Visual Studio

▼魔方 西西 提交于 2019-11-28 18:14:11
I would like to remote debug a C# console application running on Linux from Visual Studio. Here's what I found so far: http://www.mono-project.com/Debugger The Mono runtime implements a debugging interface that allows debuggers and IDEs to debug managed code. This is called the Soft Debugger and is supported by both MonoDevelop, Xamarin Studio and Visual Studio (when the appropriate plugins are installed) as well as the command line SDB client. Mono provides an API to communicate with the debugger and create your own debugging UIs via the Mono.Debugger.Soft.dll assembly. The page below

Why are no Symbols loaded when remote debugging?

三世轮回 提交于 2019-11-28 17:11:43
I want to use remote debugging. The program that I want to debug runs on machine b. Visual Studio runs on machine a. On machine b I have a folder with the following files: msvcr72.dll msvsmon.exe NatDbgDE.dll NatDbgDEUI.dll NatDbgEE.dll NatDbgEEUI.dll If you think some files are missing, could you also describe where they are usually located? In the next step I started the msvsmon.exe and my program on machine b. On machine a, I started Visual Studio 2008 and my solution in which the program was written. Then I choose "Debug - Attach to Process". I chose "Remote Transport (Native Only with no