Cool thanks! I haven't tried it but that sounds good. Then I can just
run it normally, and if necessary attach the debugger. Thanks for that
tip.

Thunder

--- In flexcoders@yahoogroups.com, "Cathy Reilly" <[EMAIL PROTECTED]> wrote:
>
> Even easier, you can set up your server/ide for Remote Java Debugging.
> 
> Update jrun4/bin/jvm.config with the JDWP setting -
> java.args=-Xdebug -Xnoagent -Djava.compiler=NONE
> -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=5005
> 
> Setup your ide to connect to remote debugger at port 5005.
> 
> Works in eclipse and intellij.
> 
> - Cathy 
> 
> -----Original Message-----
> From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
> Behalf Of thunderstumpgesatwork
> Sent: Monday, July 24, 2006 1:02 PM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] SOLVED Re: Debugging Java remote Objects in
> Eclipse
> 
> Got it working! After a lot of trial and error, and searching around
> about JRun debugging, I've got what works for me.
> Good Luck,
> Thunder
> _________________________
> 
> Here is what I did:
> 
> * Right-click your Java server project, select Debug As -> Debug...
> * If it doesn't already have a new configuration, click the 'new'
>     toolbar button at the top left of the window.
> * Name the debug configuration, and in the "main" tab set the "main
>     class" to jrunx.kernel.JRun
> * select the "arguments" tab
>     - Program Arguments (without the quotes): "start default"
>     - VM Arguments (without the quotes): 
>         "-Dsun.io.useCanonCaches=false -Djmx.invoke.getters=true"
> * PROBABLY NOT NEEDED (may work with Java 1.5 JRE)
>    - select the JRE tab and select 'Alternate JRE' and pick 
>        a java 1.4.x JRE
> * Select the Classpath tab and select User Entries in the list, then
>   use 'Add External Jars' to add:
>     - ALL Jar files from C:\fds2\jrun4\lib
>     - ALL Jar files from C:\fds2\jrun4\servers\lib
>     - ALL Jar files from 
>         C:\fds2\jrun4\servers\default\flex\WEB-INF\lib
> * Click 'Apply' and 'Debug'
> 
> 
> 
> --- In flexcoders@yahoogroups.com, "thunderstumpgesatwork"
> <thunder.stumpges@> wrote:
> >
> >  Hi guys,
> > 
> > The following URL used to point to a WIKI page that described the
> > steps for setting up Eclipse to launch the integrated JRun flex server
> > in debug mode so that it is able to debug server-side java code.
> > 
> >
> http://labs.adobe.com/wiki/index.php/Flex_Enterprise_Services:Debugging
> > 
> > Where is this information now? It says that all of this has been moved
> > to the release site, but I can't find it now.
> > 
> > thanks,
> > Thunder Stumpges
> >
> 
> 
> 
> 
> 
> 
> 
> --
> Flexcoders Mailing List
> FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> Search Archives:
> http://www.mail-archive.com/flexcoders%40yahoogroups.com 
> Yahoo! Groups Links
>







--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to