[
https://issues.jboss.org/browse/JBIDE-26794?page=com.atlassian.jira.plugi...
]
André Dietisheim commented on JBIDE-26794:
------------------------------------------
using the template that's shipped with the project works for me as long as I replace
the s2-java docker image (which to my understanding doesn't support launching the jvm
with the remote debugger agent turned on - what am I missing?) by the fabric8 one:
steps:
# ASSERT: have
https://github.com/openshift-roadshow/nationalparks.git clone and imported
into your workspace
# EXEC: modify the template at ose3/application-template.json, replace
*jorgemoralespou/s2i-java* -> *fabric8/s2i-java*
{code:title=line 124}
"from": {
"kind": "DockerImage",
"name": "fabric8/s2i-java"
}
{code}
# EXEC: launch OpenShift application wizard, pick "Custom Template" > Browse
Workspace & select ose3/application-template.json
# EXEC: do not import the source (since you already have it) & manually create a
server adapter
# ASSERT: when the adapter is syncing, it'll report an error about BOOT-INF not
existing in the pod. Ignore it.
# EXEC: Restart the adapter into debug
# EXEC: set a breakpoint at BackendController.get()
{code}
public Backend get() {
return new Backend("nationalparks","National Parks", new
Coordinates("47.039304", "14.505178"), 4);
}
{code}
# EXEC: in "OpenShift Explorer": select "nationalparks" service, pick
Show In > Web Browser
# ASSERT: Browser opens up with a 404
# EXEC: append */ws/info/* to the url
Result:
Eclipse debugger gets invoked, but indeed is very slow, almost unusable (was using
employee.openshift.com)
OpenShift: Remote debugging is very slow
----------------------------------------
Key: JBIDE-26794
URL:
https://issues.jboss.org/browse/JBIDE-26794
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: openshift
Affects Versions: 4.11.0.Final
Environment: Version: 12.11.0.GA
Build id: GA-v20190329-0120-B4247
Build date: 20190329-0120
RHPDS
Reporter: Josef Kopriva
Assignee: André Dietisheim
Priority: Critical
Fix For: 4.13.x
From Email on devtools-team from [~jgammonred612]:
{code:java}
Hi Folks:
Using this version of Code Ready Studio
Version: 12.11.0.GA
Build id: GA-v20190329-0120-B4247
Build date: 20190329-0120
I recently ran an Openshift Starter Workshop lab and witnessed a clear
issue with Code Ready Studio and INtelliJ
Workshop Starter Lab
(
http://starter-guides-labs.b9ad.pro-us-east-1.openshiftapps.com/workshop/...)
Lab 19 has a remote debugging setup. The remote debugger in Code Ready
connected very very slowly and would not step over or step out making
using it as a debugger virtually impossible.
One of the lab participants had IntelliJ and it connected immediately
and worked just fine.
Clearly, something is broken in CRS. Maybe someone would want to test
this out and fix?
You can find this lab on RHPDS.
Just FYI to the PM's.
{code}
--
This message was sent by Atlassian Jira
(v7.12.1#712002)