synapse-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Supun Kamburugamuva" <supu...@gmail.com>
Subject Re: How to debug Synapse
Date Thu, 16 Oct 2008 04:58:50 GMT
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 <saliya@wso2.com> wrote:

> 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 debug
> states while Synapse starts itself. Remote debugging is useful only after
> Synapse has started.
>
> Thanks,
> Saliya
>
> Ruwan Linton wrote:
>
>> 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 15, 2008 at 10:57 PM, Senaka Fernando <senakafdo@gmail.com<mailto:
>> senakafdo@gmail.com>> wrote:
>>
>>    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
>>    <ruwan.linton@gmail.com <mailto:ruwan.linton@gmail.com>> wrote:
>>
>>        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,
>>        Ruwan
>>
>>
>>        On Wed, Oct 15, 2008 at 2:12 PM, Asankha C. Perera
>>        <asankha@wso2.com <mailto:asankha@wso2.com>> wrote:
>>
>>            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.
>>
>>                Supun.
>>
>>
>>
>>
>>  ---------------------------------------------------------------------
>>            To unsubscribe, e-mail: dev-unsubscribe@synapse.apache.org
>>            <mailto:dev-unsubscribe@synapse.apache.org>
>>            For additional commands, e-mail:
>>            dev-help@synapse.apache.org
>>            <mailto:dev-help@synapse.apache.org>
>>
>>
>>
>>
>>        --        Ruwan Linton
>>        http://wso2.org - "Oxygenating the Web Services Platform"
>>        http://ruwansblog.blogspot.com/
>>
>>
>>
>>
>>
>> --
>> Ruwan Linton
>> http://wso2.org - "Oxygenating the Web Services Platform"
>> http://ruwansblog.blogspot.com/
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@synapse.apache.org
> For additional commands, e-mail: dev-help@synapse.apache.org
>
>


-- 
Software Engineer, WSO2 Inc
http://wso2.org

Mime
View raw message