Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [platform-debug-dev] help in debug

Zouhua,

Questions like the one you have are best posted to the newsgroup
news.eclipse.org/eclipse.tools.  This is where the community of users posts
questions to the development team.  This mailing list is used by developers
to discuss the design/implementation of the debugger.

There are two requirements to debug a Java application using the Eclipse
debugger.

1. The classfiles you are running must be compiled with debug information.
If you are using javac as your compiler, you must specify -g in your
command line, for example: javac -g myPack/Test.java
2. You must start the program in debug mode.  Specify the following
arguments on your command line
      -Xdebug -Xnoagent
-Xrunjdwp:transport=dt_socket,server=n,suspend=n,address=8000
-Djava.compiler=NONE
example:
java -Xdebug -Xnoagent
-Xrunjdwp:transport=dt_socket,server=n,suspend=n,address=8000
-Djava.compiler=NONE myPack.Test

Note:  Currently, there is no JSP debug support for Tomcat.

Hope this helps.
jkca



                                                                                                                                        
                      "Zouhua Ding"                                                                                                     
                      <zouhuading@xxxxxxxxxxx>          To:      platform-debug-dev@xxxxxxxxxxx                                         
                      Sent by:                          cc:                                                                             
                      platform-debug-dev-admin@         Subject: [platform-debug-dev] help in debug                                     
                      eclipse.org                                                                                                       
                                                                                                                                        
                                                                                                                                        
                      03/11/2002 01:04 AM                                                                                               
                      Please respond to                                                                                                 
                      platform-debug-dev                                                                                                
                                                                                                                                        
                                                                                                                                        



Hi,

Sorry to bother you guys.

I have a question for eclipse debug.It might be stupid, but
it is crucial to me.

I wrote a web application,compiled with ANT and deployed to
Tomcat, can I use eclipse to debug my code? if can, how?
I noticed that there is a issue in faq list to debug java program in remote

machine, could you give me the detail for
this problem?

Thanks.

Zouhua Ding
Computer Science
University of South Florida



_________________________________________________________________
Join the world's largest e-mail service with MSN Hotmail.
http://www.hotmail.com

_______________________________________________
platform-debug-dev mailing list
platform-debug-dev@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/platform-debug-dev






Back to the top