Differences

This shows you the differences between two versions of the page.

Link to this comparison view

dev:debugging_in_eclipse_on_machines_that_have_blocked_the_debug_port [2017/02/05 22:43] (current)
Line 1: Line 1:
 +=====Debugging in Eclipse on machines that have blocked the Debug Port=====
 +Create a new Run configuration called 'Project-debug'
 +
 +In the JVM Options, add the following line
 +<code>
 +  -Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address={addr}
 +</code>
 +Where {addr} is a port that you have listen access on.
 +
 +The SSE has opened port 1527 for listening.
 +
 +
 +Create a new Remote Debug configuration called 'Project-Debug'
 +  Select 'Standard (Socket Attach)'
 +  Select host localhost
 +  Select port {addr} from above
 +
 +Start the Run configuration first, you should see the following line:
 +  Listening for transport dt_socket at address: {addr}
 +Start the Debug configuration next, then debug as usual.
  
dev/debugging_in_eclipse_on_machines_that_have_blocked_the_debug_port.txt ยท Last modified: 2017/02/05 22:43 (external edit)
Back to top
CC Attribution-Noncommercial-Share Alike 4.0 International
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0