Unable to setup remote debugger

Description

Hi,

From my pax construct project's top level POM, I have the following pax runner parameters defined:

When I try to add the remote debugging line:

I get:

Noticing the leading quote on -Xdebug I tried alternate single quotes and XML quotes and wrapping that param line in CDATA, all to no avail.

I tried downgrading the pax-runner using mvn pax:update -Dversion=1.3 (which incidentally slightly mangled my POM - a repository <url> tag with CDATA was removed and whitespace reformatted), running the project caused an unidentified null pointer exception so I rolled forward to 1.4 (same POM mangling occurred).

I've tried adding the params --executor=inProcess with --absoluteFilePaths, in this case I don't get the NoClassDefFoundError error but am unable to attach the debugger (and with the suspend flag set to true, it doesn't suspend so am guessing it's ignored).

I don't think this is a problem with the underlying pax-runner as I can launch the cmd line script version with the -Xdebug parameter no problem, so as a possible workaround I'd be eternally grateful if someone point me to the documentation or could tell me how (and i'll wiki it) to get the standalone pax-runner.sh to run my pax-construct project.

thanks.

Environment

Ubuntu amd64 2.6.32-22-generic, sun jdk 1.6.0_20-b02, maven 2.2.1

Activity

Show:
Andreas Pieber
October 3, 2010, 8:30 AM

Mhm, can you try to use exactly the following command:

<param>--vmOptions=-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=5005</param>

this works for me

Assignee

Unassigned

Reporter

Caspar MacRae

Labels

None

Components

Affects versions

Priority

Major
Configure