remote-debugging

Eclipse remote debug .jar files inside a larger java application

萝らか妹 提交于 2019-12-13 03:29:42
问题 Most of the questions related to remote debugging are for an entire java application from which you have the code on your IDE. In this case I do not have access to the full application, only to pieces of code, .jar files, that are later on embedded into the larger application which eventually will invoke them and execute their code. Different from the large application, these .jar files that I develop do not contain the method: public static void main(string[] args) The .jar files implement

visual studio 2017 remote debugging azure api app: “The breakpoint will not currently be hit. No symbols have been loaded for this document.”

痞子三分冷 提交于 2019-12-13 03:27:42
问题 I'm trying to remote debug an asp.net core 1.1 api app (targeting .net framework 4.5.2) that's running on Azure. I attach the debugger via Server Explorer. The debugger attaches to the correct process. But any breakpoint I set has the message "The breakpoint will not currently be hit. No symbols have been loaded for this document." All answers I've seen to such a problem assume that the modules window shows all modules loaded by my project, but in my case the modules window is empty! I'm on

No connection between simulAVR and gdb

我们两清 提交于 2019-12-13 03:13:05
问题 I'm trying to connect gdb to a running simulavr session. The commands used are: simulavr -d atmega328 -f tiny.elf -B main -g after which I get the message: Waiting on port 1212 for gdb client to connect... On sending ^C, I get: ^CSystemClock::Endless stopped number of cpu cycles simulated: 909726536 which seems to be encouraging. When I try to connect to that session using gdb I get: (gdb) file tiny.elf Reading symbols from tiny.elf...done. (gdb) target remote localhost:1212 localhost:1212:

When Remote Debug Buildin CGI Server on PyCharm, Python Script Doesn't Stop at Breakpoint

流过昼夜 提交于 2019-12-13 00:33:48
问题 My environment: Windows7 64bit, Python 3.6.4 64bit, PyCharm 5.0.4, the version of pydevd I install was 1.1.1 I config Python Remote Debug on PyCharm, using port 8001, and add this code to my cgi-bin/index.py: import pydevd pydevd.settrace('127.0.0.1', port=8001) then I visit http://127.0.0.1:8000/cgi-bin/index.py, PyCharm show that debug suspend at the line right behind the code: pydevd.settrace('127.0.0.1', port=8001) I could enter F6 or F5 to step over code or step into code like I normally

How do I remote debug an on demand web job deployed with a web app in azure app service?

删除回忆录丶 提交于 2019-12-13 00:13:51
问题 According to this msdn link quoting Remote debugging only works with continuous WebJobs. Scheduled and on-demand WebJobs don't support debugging. Is there a way to remote debug azure on demand webjob? I have VS 2017 Community. I've tried attach to process to my website but as soon as my web job is called from my site. I loose debugging in VS. Please help. 回答1: On-demand WebJobs (aka Triggered) only run when they are invoked (whether manually or on timer). So there is no running process to

plsql remote debug breakpoints not working

自古美人都是妖i 提交于 2019-12-12 21:15:10
问题 I have a weird situation with debugging pl sql code. I set sql developer to listen for debug connections. In java code I attach debugger with following code: CallableStatement cstmt = null; try { cstmt = getConnection().prepareCall("begin DBMS_DEBUG_JDWP.CONNECT_TCP( '10.1.1.17', 4000); end;"); cstmt.execute(); } catch (SQLException e) { e.printStackTrace(); } finally { closeStatement(cstmt); } Debugger connects successfully, i.e. I can see in sql developer in Run Manager that connection

Running commands on Remote Windows machine with python

不问归期 提交于 2019-12-12 16:30:38
问题 this time i am asking about running commands on remote Windows machine. Let me be more descriptive here. **I have a machine on which python is installed and I want to run some powershell and cmd commands or I want to send a cmd file to remote windows machine so that it can run in there and every output like error, stdout I can get back to the firing Machine. Like I want to manage remote machines remotely from python. And if possible can i fire commands remotely on multiple machines

Eclipse Maven debug - source not found

不想你离开。 提交于 2019-12-12 15:24:05
问题 I am trying to debug a JUnit test case within a Maven project in Eclipse on my local machine and I am getting a "Source not found" error on my own test class. I went through all the other similar threads that I could find about the problem, but to the best of my understanding none of them addresses exactly my same problem, nor a solution for it. So here is the detail of what I have done: Created a run configuration with the goals "-Dmaven.surefire.debug -Dtest=MyTestClass test" Created a

How can I reach STDIN/STDOUT through a gdbserver session

自古美人都是妖i 提交于 2019-12-12 12:08:51
问题 If I start a normal 'gdb' session, then I can reach STDIN and see STDOUT directly in the terminal: $ gdb wc GNU gdb (Gentoo 7.10.1 vanilla) 7.10.1 ... gdb> run Starting program: /usr/bin/wc asdf 1 1 5 [Inferior 1 (process 28131) exited normally] gdb> quit $ Can I do the same with a gdbserver??? Here is what I have tried (gdbserver): $ gdbserver /dev/ttyS0 wc Process wc created; pid = 28156 Listening on port 2345 and client: $ gdb GNU gdb (Gentoo 7.10.1 vanilla) 7.10.1 ... gdb> c Continuing.

Remote debugging ASP.NET applications on a server with static IP address

自古美人都是妖i 提交于 2019-12-12 10:57:34
问题 All of examples on web assume the remote server which we are going to debug remotely is on the same network. I have only a static IP address and using RDP I connect to server. I've installed Remote Debugger on remote machine but cannot set the static IP address as Qualifier in visual studio -> debug -> attach to process 回答1: The username@machinename construct displayed in msvsmon is the text that needs to go into the Qualifier box in Visual Studio -> Attach to Process. For example, where