Is it possible to debug remotely via Eclipse proxy?

Asked 2 years ago, Updated 2 years ago, 79 views

Is it possible to remotely debug processes running on a Weblogic server by attaching them via proxy from Eclipse on another PC?

The environment is as follows:
Server Container Weblogic 12c
Client (IDE) Eclipse Neon.2 Release 4.6.2
Java 1.8.0_231

for both server clients

Server-side boot options include:

java-Xdebug-Xnoagent-Xrunjdwp:transport=dt_socket, address=8453, server=y, suspend=n (...abbreviated below)

On the Eclipse side, first set Active Provider to Manual in Window → Settings → General → Network Connection, set Proxy Host and Port in HTTP, HTTPS, SOCKS, and then select Project to be Debugged in Project → Remote Java Application to specify IP Address, Port 8453 on Host.

If you start debugging in this state, a few seconds later you will see "Unable to connect to the remote VM.Connection timed out. org.eclipse.jdi.TimeoutException" error.

When I netstatted on the server side, port 8453 was in LISTEN state, so I don't think there's any problem with the server side configuration, but changing the Eclipse side configuration to "direct" or "native" does not change the symptom.

Also, there are no proxy settings in the Debug Configuration settings, and Eclipse probably uses jdb for the debugger, but the jdb option does not seem to have proxy related options, so I have come to think that remote debugging through the proxy is not possible.

So this is the opening question.Is remote debugging possible via proxy in the first place?If possible, I would appreciate it if you could tell me how to do so.

java eclipse

2022-09-30 16:49

1 Answers

Debug with Eclipse → Install Fiddler (Proxy Server) on the same PC → I have tested it on other PCs, but is it correct that I want to do it?

There is a page that shows how to test Fiddler on the iPhone, so you can do the same thing on your PC.

Notes on what you did to view iPhone communications in fiddler


2022-09-30 16:49

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.