Re: How to debug Synapse

2008-10-16 Thread Senaka Fernando
Hi Supun, Thanks for the reply. Will have a look @ it. Thanks, Senaka On Thu, Oct 16, 2008 at 2:51 PM, Supun Kamburugamuva <[EMAIL PROTECTED]>wrote: > Hi Senaka, > > Please have a look at the SynapseServer.java file. You can run that from > the IDE. That file contains a description about the co

Re: How to debug Synapse

2008-10-16 Thread Supun Kamburugamuva
Hi Senaka, Please have a look at the SynapseServer.java file. You can run that from the IDE. That file contains a description about the command line arguments it accepts. You can specify the sample synapse configuration file as a command line argument and synapse will run the specified sample. Th

Re: How to debug Synapse

2008-10-16 Thread Senaka Fernando
Hi all, Thanks for the information. I think I must have gone on the wrong track. I did not mean remote debugging through IDE here, but just normal debugging. And, many thanks for the valuable point Saliya. Yes, you can't debug the startup of course. And, I managed to debug Synapse in an IDE (by s

Re: How to debug Synapse

2008-10-15 Thread Supun Kamburugamuva
Thanks everyone for the great help. I have managed to get Synapse debugging working from IDE as well as remotely. Supun. On Thu, Oct 16, 2008 at 8:47 AM, Saliya Ekanayake <[EMAIL PROTECTED]> wrote: > Agreeing with Eric and Ruwan, Synapse provides very easy method to do > remote debugging. Just u

Re: How to debug Synapse

2008-10-15 Thread Saliya Ekanayake
Agreeing with Eric and Ruwan, Synapse provides very easy method to do remote debugging. Just use the -xdebug option and that's it. Use the default configuration of the IDE altering just the port to 8000 and it will get attached. Run/Debug on Synapse code from the IDE is useful when you want to

Re: How to debug Synapse

2008-10-15 Thread Ruwan Linton
Hi Senaka, Can you please explain the pain of using IDE to remote debug or to setup the Main class to run/debug??? As Eric pointed you could use the remote debugging of the IDE or easily use the Main class setup... (It is just a normal Main class with several arguments) Thanks, Ruwan On Wed, Oct

RE: How to debug Synapse

2008-10-15 Thread Hubert, Eric
> IDE based debugging is kinda painful to setup, isn't using JDB (command line) > as stated above easier? I'd like to have an opinion on this. Hmm, maybe I misunderstand something regarding "IDE based debugging", but any IDE I'm aware of supports remote debugging. And it is very easy to setup. So

Re: How to debug Synapse

2008-10-15 Thread Senaka Fernando
Hi Ruwan, IDE based debugging is kinda painful to setup, isn't using JDB (command line) as stated above easier? I'd like to have an opinion on this. Regards, Senaka On Wed, Oct 15, 2008 at 10:40 PM, Ruwan Linton <[EMAIL PROTECTED]>wrote: > Supun, > > That is for remote debugging, and if you nee

Re: How to debug Synapse

2008-10-15 Thread Ruwan Linton
Supun, That is for remote debugging, and if you need to run/debug synapse within your IDE, you should look at the SynapseServer (which is the main class that you should run to start synapse) and set the relevant program parameters to the run/debug as required by the SynapseServer class. Thanks, R

Re: How to debug Synapse

2008-10-15 Thread Asankha C. Perera
Supun Start ./synapse.sh or .bat passing "-xdebug" and the Java process will listen on port 8000 for your IDE asankha Supun Kamburugamuva wrote: Hi all, Is there any documentation available on how to set up Syanapse for debugging? I'm new to Synapse, so your help is much appreciated. Sup

How to debug Synapse

2008-10-15 Thread Supun Kamburugamuva
Hi all, Is there any documentation available on how to set up Syanapse for debugging? I'm new to Synapse, so your help is much appreciated. Supun.