remote-debugging

ASP.NET / IIS Remote Debugging - DEBUG verb

最后都变了- 提交于 2019-12-07 10:17:06
问题 I'm looking for details on the DEBUG HTTP verb. It's clear to me that this is used for remote debugging - though I'm not even sure if it's for IIS or ASP.NET... If I want to access this interface directly - i.e. not through Visual Studio, but sending these commands manually - what do I need to know? What are the commands for it? I'm also interested in misuse cases, if you have any information on that... 回答1: Just for completeness, consolidating here the answers from what-is-the-non-standard

pycharm remote debugging: failed to find free socket

十年热恋 提交于 2019-12-07 07:51:39
问题 I'm trying to use remote debugging but get this error on pycharm: Error running remoteTest: failed to find free socket My remote host is Ubuntu |(with username and password) and my localhost is windows, I followed the following tutorial: https://blog.jetbrains.com/pycharm/2010/12/python-remote-debug-with-pycharm/ and I used a ssh tunnel on putty to connect to the server. import pydevd pydevd.settrace('localhost', port=21000, stdoutToServer=True, stderrToServer=True) 来源: https://stackoverflow

How do I debug silent failures in Java applications?

北战南征 提交于 2019-12-07 05:42:19
问题 I'm trying to debug a problem in my Java application that throws no errors, no exceptions and doesn't even crash the app (it seems the failure happens in a separate thread). The problem seems to be inside a call to a library function (it's JAXBContext.newInstance(String) if that matters). The program will reach the line just before the call, but not the one just after it. My catch blocks are not entered and the program just continues to run. The problem happens while trying to render an XML

how do you troubleshoot with “works on my machine” scenarios

这一生的挚爱 提交于 2019-12-07 01:00:42
问题 It happens lot of the time that when you report a bug to a developer, he comes back saying "it works on my system" though its a browser app. How do you go about sorting that out ? 回答1: From a training/process point of view: Train your team to know that "works on my machine" is not a get-out-of-jail-free response. Have an automated build server. Have an automated test deployment. Your developers must know that "works" is defined as "works on the test server", not just their machine. From a

How to allow remote conection with Karaf (for doing remote debugging)?

孤街浪徒 提交于 2019-12-06 15:03:50
I need some help. I have a vmware virtual machine with a Karaf server and some java applications deployed. I've started karaf with debug flag and it opened port 5005 for debugging. What I want to do is connect to this port with eclipse to do remote debugging, but I am always refused to connect. I can access to the virtual from an external firefox using the VM IP, but when I enter the karaf port 8181 I'm not able to connect. Do you know how to enable Karaf to accept remote connections? Thanks a lot in advance! I've found the troubles, it was a combination of things. First of all, I used Bridged

How can I run my own java code in the JVM that I am debugging remotely with JDWP?

佐手、 提交于 2019-12-06 13:07:27
问题 As a penetration tester, I have come across an open JDWP port. I can connect to it with Eclipse and browse the threads and memory, but I don't have the source code for the application. I'd like to inject my own Java code, perhaps as an Exception handler, in order to return a shell. How can I modify the running/suspended Java application over JDWP, preferably using Eclipse as my debugger? 回答1: I found the answer to my question: JavaPayload by Michael 'mihi' Schierl lets you load Java payloads

How do I connect to the VMware's pipe and receive debug information from the running OS?

柔情痞子 提交于 2019-12-06 11:34:45
问题 I'm trying to catch debug information from VMware. This might be an easy task because you can redirect all debug information from VMware's OS into the named pipe like is nicely described here. It works fine with WinDbg but I want to create my own application which will do exactly the same. So I've decided to connect to the named pipe provided by VMware and read from it. I'm able to connect to that named pipe but I'm getting meaningless result when reading from the pipe. I've simplified the

How do I remote debug a net46 ASP.NET Core application in Azure?

烂漫一生 提交于 2019-12-06 09:26:19
I am trying to remote debug my net46 ASP.NET Core application in Azure. It appears the debugger attaches to the process just fine (WebApiNetCore.exe), however the breakpoints I've set are not being hit. The available processes I have to choose from are here . I've tried selecting all of these options and they don't seem to work either. Is it currently possible to remote debug a net46 ASP.NET Core application? I have found a resolution to this issue. Originally, if I select "Attach to Debugger" through Cloud Explorer, I get the following error: So I tried the following steps to attaching a

How do I inspect table variables and temporary tables from within a debugging session in SSMS 2008?

给你一囗甜甜゛ 提交于 2019-12-06 09:12:56
I'm stepping through a stored procedure in SQL Server Management Studio 2008 (SSMS). The code creates some table variables as well as temporary # tables that I would like to inspect as I go along. Now the other local variables I can see in the "Locals" window and while the table variables are listed there, I can't see their contents. I would also like to inspect the # temp tables but again any select statement that I want to run against them will need to come from the same session as the code that I'm stepping through. Is this possible in the SSMS 2008 debugger? I built a procedure which will

Unable to connect remotely from other devices + Vorlon

心已入冬 提交于 2019-12-06 08:39:33
Vorlon dashboard is not showing all connected devices. I have desktop and installed a Vorlon, I am using localhost of this desktop from laptop or ipad its displays webpage but it is not showing devices in vorlon, but it show if i open from the same desktop. I was my bad. I am using localhost:1337 to load vorlon.js. We have to use ip address instead of localhost from other machine frage There can be a few different problems at play here. First you need to find the IP address of the computer that is hosting your application/site i.e. 192.168.10.4. start vorlon c:/> vorlon -v start webserver,