[Red5] Debugging red5 0.7.0 webapp standalone using eclipse
Ignacio Lopez
ignacio.lopez at gmail.com
Fri Oct 24 12:03:17 PDT 2008
Solved it compiling with ant and adding this values to the javac
task:debug="true" debuglevel="lines,vars,source"
I'm pretty exited of trying the debugger out after a year of harcode
log.debug 's..hehe
BTW, the debugging is showing some weird behavior....but haven't figured it
out yet...for example the calls to Red5.getConnectionLocal().getScope()
sometimes returns null when it should'n =S
I'll take a look a let you know if I find something interesting!
Thanks all for the help!
On Fri, Oct 24, 2008 at 4:29 PM, Dominick Accattato <daccattato at gmail.com>wrote:
> I forget why that error happens, but it's something to do with the compiler
> not having the debug flag enabled. If you have set that in eclipse, then
> try doing a clean and then re-build.
>
>
> On Fri, Oct 24, 2008 at 2:18 PM, Ignacio Lopez <ignacio.lopez at gmail.com>wrote:
>
>> Hey thank you very much for this info.I'm having a problem while setting
>> breakpoints....Eclipse is complaining with "debugging unable to install
>> breakpoint due to missing line number".
>>
>> I've checked the compiler options and the options are all checked. Googled
>> it for a while but didn't find a solution that worked for me.
>>
>> Do you know if it's mandatory to have your eclipse workspace inside the
>> red5/webapps folder for this to work?
>>
>> Thanks very much
>>
>>
>>
>> On Fri, Oct 24, 2008 at 3:45 PM, João César <jpcesar at gmail.com> wrote:
>>
>>> Ok this is my time to help.
>>>
>>> Follow this
>>> http://sziebert.net/posts/remote-debugging-red5-applications/
>>>
>>> Basically what u need to do is launch red5-debug.bat that will be
>>> listening in 8787.
>>>
>>> On eclipse u will setup debug options to use attach method on port
>>> 8787. when u launch debug for ur application red5 will start to run.
>>>
>>> Good Luck
>>>
>>>
>>>
>>> On Fri, Oct 24, 2008 at 6:34 PM, Ignacio Lopez <ignacio.lopez at gmail.com>
>>> wrote:
>>> > Hi all! I'm running a custom webapp on top of red5 0.7.0 on windows,
>>> and I
>>> > would like to be able to user more than log.debug for my debugging
>>> process
>>> > =)
>>> > I don't have the source code of red5 in my eclipse...I'm just running
>>> the
>>> > standalone version over jetty.
>>> > Is the red5 plugin the only way to debug a red5 app? I've tried the
>>> > red5-debug.bat but it didn't work for me...maybe I did something wrong.
>>> > Some tips on debugging would be really helpful...There is a section in
>>> the
>>> > wiki but is empty =(
>>> >
>>> http://jira.red5.org/confluence/display/tools/Tutorials#Tutorials-HowdoIdebugboththeclientandserversidecode%3F
>>> >
>>> > Thanks very much!
>>> > _______________________________________________
>>> > Red5 mailing list
>>> > Red5 at osflash.org
>>> > http://osflash.org/mailman/listinfo/red5_osflash.org
>>> >
>>> >
>>>
>>>
>>>
>>> --
>>> Joao Cesar
>>> msn: jpcesar at gmail.com
>>> gtalk: jpcesar at gmail.com
>>> icq: 13790802
>>>
>>> _______________________________________________
>>> Red5 mailing list
>>> Red5 at osflash.org
>>> http://osflash.org/mailman/listinfo/red5_osflash.org
>>>
>>
>>
>> _______________________________________________
>> Red5 mailing list
>> Red5 at osflash.org
>> http://osflash.org/mailman/listinfo/red5_osflash.org
>>
>>
>
>
> --
> Dominick Accattato, CTO
> Infrared5 Inc.
> www.infrared5.com
>
> _______________________________________________
> Red5 mailing list
> Red5 at osflash.org
> http://osflash.org/mailman/listinfo/red5_osflash.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://osflash.org/pipermail/red5_osflash.org/attachments/20081024/ef0e67be/attachment.html>
More information about the Red5
mailing list