[jbosstools-issues] [JBoss JIRA] (JBIDE-9442) Investigate possibility for remote debug launch of app servers

Rob Stryker (JIRA) issues at jboss.org
Mon Jun 6 15:17:00 EDT 2016


    [ https://issues.jboss.org/browse/JBIDE-9442?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13248564#comment-13248564 ] 

Rob Stryker commented on JBIDE-9442:
------------------------------------

Ok... I found the string (which I probably should have searched for earlier).  It's in the method where we no longer hard-code localhost, but I didn't update the error message string.

{code}
		debugUtils.setupRemoteDebuggerLaunchConfiguration(workingCopy, null, localDebugPort, server.getHost());
		debuggerLaunchConfig = workingCopy.doSave();
		boolean launched = false;
		try {
			ret = debuggerLaunchConfig.launch("debug", new NullProgressMonitor());
			launched = true;
		} catch (Exception e) {
			e.printStackTrace();
		}
		
		if (!launched){
			throw toCoreException("Unable to start a remote debugger to localhost:"+localDebugPort);
		}
{code}

I can improve the error messaging here to also  include the root exception (which we seem to just print out and ignore).  This  may help us discover what else is wrong. 

Question:  if you go set up a "remote java application" launch configuration manually,  can you seriously just use host "marvin"  ?  I'm able to get a raw remote java app launch config to fail if I don't have a project path added... but I'm not able to replicate when running against a remote jboss / wf / eap...   

> Investigate possibility for remote debug launch of app servers
> --------------------------------------------------------------
>
>                 Key: JBIDE-9442
>                 URL: https://issues.jboss.org/browse/JBIDE-9442
>             Project: Tools (JBoss Tools)
>          Issue Type: Feature Request
>          Components: server
>            Reporter: Rob Stryker
>            Assignee: Rob Stryker
>              Labels: new_and_noteworthy
>             Fix For: 4.4.0.Alpha2, 4.4.0.Final
>
>
> When launching a remote server on a remote host, we do not currently connect a remote debugger. It'd be nice if we also connected a remote debugger if possible. 



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the jbosstools-issues mailing list