remote-debugging

Debugging Library Code with Visual Studio's Linux support

早过忘川 提交于 2019-12-02 02:18:11
I'm using Visual Studio 2017's integration to build and debug a CMake Linux application locally in the Windows Subsystem for Linux. When running the application, Visual Studio uses an ssh connection to localhost to run cmake -DCMAKE_BUILD_TYPE="Debug" .. and make , then uses gdbserver to debug the application. This works fine for my application's own code, including breakpoints and line-by-line debugging. This application links to a library file, libhypro.so.17.09 , which is also part of a CMake project. This library is also built locally (stored in my Windows file system, built within Linux

How to debug a deployed web site

▼魔方 西西 提交于 2019-12-02 01:20:46
This question kind of follows on froma previous one I posted. I have a .net web site deployed on a server. In certain circumstances the site falls over. Specifically, when I browse to the site from my PC (which has visual studio) to the web server using a particular dns entry. So, I want to debug a browser session on my PC which is looking to a URL on a web server. How can I do this? Within VS when I attach to Internet Explorer no break point is ever reached? Thanks in advance. Jim Attaching to Internet Explorer isn't going to help you because the web site doesn't "run" inside IE. You need to

Launch Notepad.exe using PsExec sysinternal tool

心不动则不痛 提交于 2019-12-02 00:01:45
I am trying to launch notepad.exe on remote server A from local server B. below is the command which works fine and I could see notepad.exe process on Task Manager however when I physically remote login to server I do not see notepad launched (GUI). C:\Windows\System32>D:\SysInternals\psexec.exe \\serverB -u Domain\user1 -p passXX -i -d notepad.exe PsExec v1.98 - Execute processes remotely Copyright (C) 2001-2010 Mark Russinovich Sysinternals - www.sysinternals.com notepad.exe started on serverB with process ID 3328. How would I see notepad GUI when logged in ? is serverB a terminal server ?

VS2015 SP3 remote debug illegal characters in path

百般思念 提交于 2019-12-01 19:45:45
After upgrading Visual Studio 2015 to Update 3 the remote debugging stops working. While trying to debug the error occurs: Severity Code Description Project File Line Suppression State Error DEP4300 : Could not generate the root folder for app package xxx|VS.Debug_x86.xxx|CN=xx|xxxxxx.Debug_x86.xxx with base layout folder of C:\Users\xxxx. Illegal characters in path. The remote device should have a Visual Studio 2015 Remote Debugger tool uploaded to allow remote debugging. This tool differs between Visual Studio versions. So after Visual Studio upgrade it is needed to also update Remote

VS2015 SP3 remote debug illegal characters in path

旧城冷巷雨未停 提交于 2019-12-01 19:36:11
问题 After upgrading Visual Studio 2015 to Update 3 the remote debugging stops working. While trying to debug the error occurs: Severity Code Description Project File Line Suppression State Error DEP4300 : Could not generate the root folder for app package xxx|VS.Debug_x86.xxx|CN=xx|xxxxxx.Debug_x86.xxx with base layout folder of C:\Users\xxxx. Illegal characters in path. 回答1: The remote device should have a Visual Studio 2015 Remote Debugger tool uploaded to allow remote debugging. This tool

Can I use the Visual Studio 2010 remote debugger on Windows XP to debug a .Net 4.0 app from Visual Studio 2012?

最后都变了- 提交于 2019-12-01 17:05:14
Can I use the Visual Studio 2010 remote debugger on Windows XP to debug a .Net 4.0 app from Visual Studio 2012? I am trying to, here is a screenshot of my XP machine (I have disabled the local firewall temporarily): Here is Visual Studio 2012 (the text in the remote machine box is identical to the server name indictaed by the Visual Studio remote debugger): When I try to debug, I get this error: If I change the computer name to anything else, I get this error: Is being able to debug .Net 4.0 apps remotely from Visual Studio 2012 on Windows XP wishful thinking on my part or should this work?

How do I debug a remote application in my eclipse

独自空忆成欢 提交于 2019-12-01 17:00:49
I am running my server from outside of my eclipse and now i want to debug it. so is it possible ? If yes how can i do that. 1) Specify this option on remote JVM. -agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=5005 Note that now the debug server is running at this remote host and port 5005. 2) In Eclipse, create and run remote debug config under Run > Debug> Debug Configurations... > Remote Java Application . 来源: https://stackoverflow.com/questions/1988039/how-do-i-debug-a-remote-application-in-my-eclipse

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

早过忘川 提交于 2019-12-01 14:12:50
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 log 2017-07-07 21:53:03,515 [8879188] INFO - tion.impl.ExecutionManagerImpl - Failed to find free

Writing a Python script to print out an array of recs in lldb

梦想与她 提交于 2019-12-01 12:40:43
I need help with the SBValue class used in the lldb Python module which is used for creating scripts for lldb debugging sessions. I am in the process of porting my kext test and debug system from gdb to lldb so I can start using the latest version of Xcode and Mac OS 10.9.1 . Part of this process is rewriting my gdb debug scripts in python so they can be used with lldb. I have the two mac setup working, can drop into lldb and poke around in the kernel of the victim Mac. I can also my Python script to be called when I am running an lldb session. I'm stuck though in that I am unable to figure

How do I use docker-compose.debug.yml to debug my node running in docker?

偶尔善良 提交于 2019-12-01 08:22:36
问题 I have used vs docker extension to create docker files. But I don't know what is the "proper" way to use docker-compose.debug.yml to debug my code, e.g. how do I set my env. so I can just hit F5 and all the magic happen. I did work out a way to debug my code. First run docker-compose -f docker-compose.debug.yml in terminal. Then use the launch.json from In-container Node Development: Visual Studio Code to attach to my node in docker. But I think Code may provide a simpler way to streamline