I am trying to attach a java debugger to an inline command so I can debug via eclipse remote debugging. I was trying something like:<inline command="/SAN01/apps/Interwoven/TeamSite/tools/java/bin/java -Xdebug -Xrunjdwp:transport=dt_socket,address=8001,server=y,suspend=n...but this doesn't seem to work...any suggestions or pointers?
Can't think of any reason why this wouldn't be possible. Can you expand on "doesn't work"?* Does the form render or do you get an error?* Assuming it renders, does your call return the data you'd expect, or no data at all?* Does the data come across any better if you remove the debugging flags from the same command?* If you copy that exact command and run it from the shell, does it trigger your debugger?Basically, I'd debug this exactly as I would any other inline command, and then narrow it down to a problem with the debug flags specifically. Also, note that you're attaching the debugger to a standalone Java app that returns the inline content. You're NOT going to be able to get any information at all from the calling process, since it's a distinct process entirely. All you'll get by trying it that way versus in a shell directly, is you'll be able to see the environment passed to the call -- and that's something you could debug much more easily if you write a quick perl script that prints the $ENV to a text file.
If there is a way to execute the inline code in an existing JVM (Servletd/Tomcat) instance then that would ideal since a debugger is already attached to it...