[
https://issues.jboss.org/browse/JBIDE-19397?page=com.atlassian.jira.plugi...
]
Rob Stryker commented on JBIDE-19397:
-------------------------------------
Hi Vlado:
I'm able to replicate that wf8.0.0.Final does require the
--server-config=standalone.xml flags. Wildfly 8.1 does not require the extra flag, so
that might be an overlook on my part.
But I'm not able to replicate the breakpoint not being hit. The breakpoint still hits
for me every time. My steps are as follows:
1) Via cmd line, run ./standalone.sh --debug --server-config=standalone.xml
2) Open a fresh clean eclipse
3) Open servers view, click new server
4) Choose wf 8.x
5) Use local + fs/shell. Check the box "Server is externally managed"
6) Create the runtime on the next page, pointing to your wf 8.0 final installation
7) Finish wizard
8) New DYnamic Web Project, use defaults (targeting wf 8.x runtime, web module version
3.1), finish
9) File -> New -> Servlet, fill in the wizard as expected
10) Add this line to doGet method:
{code} response.getOutputStream().write(("Hello: " +
System.currentTimeMillis()).getBytes());{code}
11) Set breakpoint on the above line
12) DEBUG server in servers view (ie, start in debug mode)
13) in JMX view, find your running wildfly process, right-click, 'connect
debugger'
13) Find your servlet in project explorer, rght-click, debug as -> Debug on server
14) Breakpoint / Perspective hit shows up.
I've tried this several times with several runtimes now but cannot replicate the
breakpoint not being hit. Can you verify if you're skipping a step? Can you open the
debug perspective and verify that a remote java application launch is present in the Debug
view?
Thanks in advance.
unify/merge "Debug As... > Remote Java Application" with
JMX vm list
--------------------------------------------------------------------
Key: JBIDE-19397
URL:
https://issues.jboss.org/browse/JBIDE-19397
Project: Tools (JBoss Tools)
Issue Type: Feature Request
Components: common/jst/core, server
Reporter: Max Rydahl Andersen
Assignee: Rob Stryker
Fix For: 4.3.0.Alpha2
today we got jmx view that lists running hotspot jvms and allow introspection.
We also have Debug As > Remote Java Application which I believe uses the exact same
API but allow for launching a remote java app.
It would be nice if we could make jmx view have a context menu for "connect
debugger" that works in similar fashion and even better, have remote java
application just use the existing model so we don't have this use of sun api's
spread out over two places.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)