x


Enter your email address below to receive updates each time we publish new Video Tutorial.

Privacy guaranteed. We'll never share your info.

How to Debug Red5 source Code - Red5 Video Tutorial

DEAR VISITOR , YOU ARE WATCHING : How to Debug Red5 source Code - Red5 Video Tutorial .

[postlink] http://j2ee-tutorials-videos.blogspot.com/2011/02/how-to-debug-red5-source-code-red5.html [/postlink] http://www.youtube.com/watch?v=EthwDjf3W9Mendofvid [starttext] This is a Video Tutorial explains How to Debug Red5 source Code

First create a debug configuration in eclipse. Click on the Debug icon in the top nav, then click on Debug Configurations, then click on the Source tab, then click on the Add button, then click on Java Project and click OK, then check the checkbox next to red5_server project, then click OK button. Then click Apply button, then click Debug button, and wait for it to compile. When it is done compiling, it should say: INSTALLER SERVICE CREATED

Press the red stop button, to stop it.

TO SET BREAKPOINT: type ctrl+shif+r, type in bootstrap, and select Bootstrap.java in the list, and click Open button, and it will open Bootstrap.java. Bootstrap.java has the main function which gets called when Red5 first starts. Set a breakpoint on the line that reads: public static void main(String args) To set the breakpoint double click on the left edge of the file on that line.

TO TURN ON LINE NUMBERING: click on Window in the top nav, then click on Preferences, then expand General, then expand Editors, then click on Text Editors, then check the box that says Show line numbers, and then click OK button. And now the line numbers will appear on the left of each line (making it easier to keep track of breakpoints).

TO DEBUG: Click on the Debug icon in the top nav again, then click on Distribution r1, a message will popup asking if we want to open the debug perspective...click the Yes button. And now it will go to our first breakpoint.

Use f5 to step into.
Use f6 to step over.

TO STOP DEBUGGING: click on Run in the top nav, then click on Terminate.

TO RESET THE LAYOUT: click on Window in the top nav, then click on Open Perspective, then click on Java EE.

[endtext]
This site does not store any files on its server.We only index and link to content provided by other sites.If you have any doubts about legality of content or you have another suspicions, feel free to contact us HERE - Thank you.

0 commentaires :

Post a Comment

:)) ;)) ;;) :D ;) :p :(( :) :( :X =(( :-o :-/ :-* :| 8-} :)] ~x( :-t b-( :-L x( =))

You can see also

J2EE is an acronym for Java 2 Enterprise Edition. The Java 2 Enterprise Edition is Software that can be used along with the J2SE, the Java 2 Standard Edition which includes the compiler and the other fundamentals of Java. The J2EE software includes development and deployment systems for Java Servlet and Java ServerPages. Both of these combine Java and HTML to produce web pages on demand. Author Mohamed Habou . understand this powerful component of Java programming.

Android Cloud To Device Messaging Video Tutorial

JPA Video Tutorial

Spring MVC Video Tutorial

Spring Security Video Tutorial

Primefaces Video Tutorial

Struts Video Tutorial

free counters

Introduction to J2EE Videos Tutorials

Latest GWT Video Tutorials

Latest Spring Videos Tutorials

Latest Hibernate Videos Tutorials

Latest JAVA Video Tutorials

Latest Struts Videos Tutorials

J2EE is an acronym for Java 2 Enterprise Edition. The Java 2 Enterprise Edition is Software that can be used along with the J2SE, the Java 2 Standard Edition which includes the compiler and the other fundamentals of Java. The J2EE software includes development and deployment systems for Java Servlet and Java ServerPages. Both of these combine Java and HTML to produce web pages on demand. VTC Author Mohamed Habou takes you on a step by step guide to understanding this powerful component of Java programming.