Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
zhc341272 opened this issue Jun 8, 2016 · 3 comments
Open

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

zhc341272 opened this issue Jun 8, 2016 · 3 comments

Comments

@zhc341272
Copy link

zhc341272 commented Jun 8, 2016

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 zhc341272 changed the title How to debug Red5 Application under red5-eclipse-plugin? How to debug Red5 Application through red5-eclipse-plugin? Jun 8, 2016
@mondain
Copy link
Member

mondain commented Jun 8, 2016

@rajdeeprath might have some insights on this.

@rajdeeprath
Copy link
Contributor

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.

@zhc341272
Copy link
Author

@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~~~~

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants