red5-eclipse-plugin icon indicating copy to clipboard operation
red5-eclipse-plugin copied to clipboard

How to debug Red5 Application through red5-eclipse-plugin?

Open zhc341272 opened this issue 8 years ago • 3 comments

I use Red5(1.0.7) and the last red5-eclipse-plugin, also use Eclipse(Mars.2). But I cant debug my application, breakpoints are in use, have blue check mark, unfortunately I cant debug my application. I think the reason is that the class file which Red5 use is not the same to Eclipse`s java file, but I use red5-eclipse-plugin to creat project and config correctly, would you please help me to make it in use to debug the application through red5-eclipse-plugin? thx very much!~~~~~~

zhc341272 avatar Jun 08 '16 02:06 zhc341272

@rajdeeprath might have some insights on this.

mondain avatar Jun 08 '16 17:06 mondain

Try this: (assuming you installed plugin correctly and setup a project properly without any errors showing)

  1. In your project create a new server
  2. Select Infrared5 => Red5 server runtime
  3. Select your red5 server root, webapps location, debug and shutdown scripts as necessary in the options shown.
  4. Once server is created , right click it and click "Add and Remove" and add your application to it
  5. Right click server and click publish
  6. Right click server and click debug

Your server should now start in debug mode from there on and will include your application in webapps folder.

rajdeeprath avatar Jun 08 '16 18:06 rajdeeprath

@rajdeeprath thx for your answer very much. First, Im sure that the plugin is installed correctly, because I can write my application and compile it, and I can find java class files in webapps folder(BUILD SUCCESSFUL Total time: 5 seconds). Unfortunately, it doesnt stop when running to the breakpoint. What`s wrong? Help~~~ 555555555~~~~

zhc341272 avatar Jun 13 '16 00:06 zhc341272