Is it possible to run debug mode in struts

hi friends

Normal VB application we run each and every line in debug menu which contains step into, step over.

the same concept i want to use in struts framework. Is it possible to run in struts application.

I am Using tomcat 5.0, exadel studio and Eclipse 3.0.1. if anybody knows please tell me what is the procedure to run in debug mode.

last 4 days i have been searching but i couldn't get good solution. Will u please tell me whether this concept is possible or not.

please help me

thanks in advance

pooja

[560 byte] By [sherin_poojaa] at [2007-10-2 22:08:07]
# 1
Hi, It is possible to debug struts application, using tomcat 5.0, exadel studio and Eclipse 3.0.1. If u r familiar with using breakpoints, same way u need to debug. Give break point in ur form or action class and start your server in debugging mode.
prasanthegr8a at 2007-7-14 1:24:51 > top of Java-index,Archived Forums,Debugging Tools and Techniques...
# 2

Hi Prasanth,

Thank you, eclipse environment is new to me. I can debug normal main method java file. But In struts application no main method.

Now i have index.jsp , Action form, Action Class and Result.jsp.

i have searched all the top menus no break points.

only Run--> Add Java Exception Breakpoint and

Run--> Add Class load Breakpoint. then I don't know how to put breakpoints. next i did the same thing like java main method.

BookWork.java -->Right click-->Debug-->Debug-->Apache Tomcat, Java Applet, java Application...... . But all the things tells errors.

Please tell me what is the procedure to put breakpoint or give me the good links. If you know please tell me the procedure.. please.

Thanks in advance

regards pooja

sherin_poojaa at 2007-7-14 1:24:51 > top of Java-index,Archived Forums,Debugging Tools and Techniques...
# 3

Ok. Now I got your problems.

For adding breakpoints-> Double click on the margin of the editor. A blue dot will appear. or just right click on the margin and click toggle breakpoint.

You can not start struts as a Java stand alone. Try configuring the server first, then Start the server in debug mode.

Hope the Struts portion of the following link will be very much helpfull to you.

http://www.eclipse-plugins.info/eclipse/plugin_details.jsp;jsessionid=D7300F2560191D44C78FDB0B8BB284BA?id=1023

prasanthegr8a at 2007-7-14 1:24:51 > top of Java-index,Archived Forums,Debugging Tools and Techniques...
# 4

Hi friend Thank you for ur kind help

Ok i put the toggle breakpoint in action file. Togglepoint automatically putpublic MakeGuessAction() { }

and next start the tamcat in debug mode. but it takes a long time. not fully loaded. In between I press F5 button

******* Source not found for JspWriterImpl.write(int) line: 210 ********* this error often told. Please tell me if u know why it take a long time. is there any prblem in my exadel studio. or. i mistake?. Please tell me.

i think often disturb u.

sorry

regards pooja.

sherin_poojaa at 2007-7-14 1:24:51 > top of Java-index,Archived Forums,Debugging Tools and Techniques...