[Red5] How to debug in eclipse now ?
electroteque at gmail.com
Sat Apr 4 18:12:13 PST 2009
Here you go, see what I mean by painful :)
I think it all started playing up since conf was moved to src/conf.
On 05/04/2009, at 11:11 AM, Lei Gao wrote:
> I do not know why you can not debug it directly from eclipse, but
> here are my settings,
> 1. First need to configure jetty debugging with Elcipse.
> From menu Run/Debug Configuration, find Java Application, read the
> red5.bat, and copy all the VM options and red5 options. and paste
> them there, name this as Red5 Server. Attach the red5 source
> directory with this debug config.
> Start it as debugging mode, but this is only running in a server
> mode, you have to start a client(either in run or debug mode)
> 2. If it is tomcat, from Server view, select new server, pick Tomcat
> with your version, and attach the red5 source with it.
> You can start this directly in debug mode, or with any web
> application project, you can debug the project on *this* server,
> 3. From your project, this can be any clients, pure Java, an web
> app, an PHP project, whatever it is. For my case, it is a Flex front
> end with FB3.
> Start the project as debugging mode. For my case, I debug this as a
> Flex application.
> Actually I am using all the techniques above, I m debugging my logic/
> control server on a tomcat with BlazeDS, and debugging my streaming
> server code with Jetty, and debugging my Flex code with FB3 same
> time. Pretty smooth.
> I am not sure if this can help
> Daniel Rossi wrote:
>> Is someone able to demonstrate how to now configure eclipse, and
>> debug it realtime. All other methods of debugging and testing red5
>> is extremely slow, and debugging directly in eclipse does not work
>> I would like to be able to make core code changes in realtime
>> without spending minutes compiling applications and copying files
>> in place, having to now call the shutdown script manually and
>> starting up again, very painfully slow.
>> Let me know thanks.
>> Red5 mailing list
>> Red5 at osflash.org
>> No virus found in this incoming message.
>> Checked by AVG - www.avg.com Version: 8.0.238 / Virus Database:
>> 270.11.41/2041 - Release Date: 04/04/09 16:53:00
> Red5 mailing list
> Red5 at osflash.org
More information about the Red5