That's pretty much what I do: start Merlin from the command line then 
connect to it using eclipse.

Alex

> 
> From: Jon Elson-Green <[EMAIL PROTECTED]>
> Date: 2004/01/20 Tue PM 11:21:58 EST
> To: Avalon framework users <[EMAIL PROTECTED]>
> Subject: Re: Merlin and remote debugging
> 
> Alex Karasulu wrote:
> 
> >Hon,
> >
> >Here's what I change on the run command in the shell script to start Merlin in 
> >debug mode:
> >
> >RUN_CMD="$JAVA_HOME/bin/java -Xdebug -Xrunjdwp:transport=dt_socket,address=8000,
> >server=y,suspend=n -Djava.security.policy=$MERLIN_HOME/bin/security.policy 
> >-Dmerlin.home=$MERLIN_HOME -Djava.ext.dirs=$MERLIN_HOME/ext -jar 
> >$MERLIN_HOME/bin/lib
> >/merlin-bootstrap-1.0.jar $*"
> >
> >Check out the command parameters for the -Xdebug and set them as you need them.
> >
> >I don't use jdb anymore.  I use eclipse and it works like a champ.  It's really 
> >easy to do remote debugging in eclipse.  Check out the help in eclipse to set u up.
> >
> >  
> >
> Thanks, Eclipse was what I was intending to use, have been remote 
> debugging tomcat servlets with it.
> 
> Perhaps I was solving the wrong problem, I haven't worked out how to get 
> eclipse & merlin integrated smoothly yet, so I was going to start merlin 
> from the command line and connect to it with eclipse.
> 
> Jon
> 
> >Alex
> >
> >  
> >
> >>From: Stephen McConnell <[EMAIL PROTECTED]>
> >>Date: 2004/01/20 Tue PM 10:50:31 EST
> >>To: Avalon framework users <[EMAIL PROTECTED]>
> >>Subject: Re: Merlin and remote debugging
> >>
> >>Jon Elson-Green wrote:
> >>
> >>    
> >>
> >>>I was sure I read somewhere what to do to enable JPDA remote debugging, 
> >>>however I can no longer find it.
> >>>
> >>>Could someone please advise me what to do to get a Merlin jvm to start 
> >>>up with remote debugging?
> >>>      
> >>>
> >>Leo is the expert on this - but be warned - Merlin is somewhat recursive 
> >>so don't send any messages complaining about headaches while looking at 
> >>a debugger output.  Bottom line - you need to have an abstract mind to 
> >>really appreciate the dark magic!
> >>
> >>Cheers, Stephen.
> >>
> >>-- 
> >>
> >>|------------------------------------------------|
> >>| Magic by Merlin                                |
> >>| Production by Avalon                           |
> >>|                                                |
> >>| http://avalon.apache.org/merlin                |
> >>| http://dpml.net/merlin/distributions/latest    |
> >>|------------------------------------------------|
> >>
> >>---------------------------------------------------------------------
> >>To unsubscribe, e-mail: [EMAIL PROTECTED]
> >>For additional commands, e-mail: [EMAIL PROTECTED]
> >>
> >>
> >>    
> >>
> >
> >
> >---------------------------------------------------------------------
> >To unsubscribe, e-mail: [EMAIL PROTECTED]
> >For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >  
> >
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to