facebook

Problem in Debugging Java code

  1. MyEclipse IDE
  2.  > 
  3. Comments
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #215229 Reply

    bhagya
    Member

    Hi,

    Could anybody help me out , here is the problem…………

    In the Debug Mode, the following threads are created

    System Thread [Finalizer] (Running)
    System Thread [Reference Handler] (Running)
    Thread [main] (Running)
    System Thread [Signal Dispatcher] (Running)
    System Thread [CompileThread0] (Running)
    Thread [WebappLoader[/examples]] (Running)
    Thread [StandardManager[/examples]] (Running)
    Thread [StandardManager[/admin]] (Running)
    Thread [StandardManager[/manager]] (Running)
    .
    .
    .
    .
    .

    The above last four threads are relative to the project

    and at the breakpoint that particular thread gets suspended and I can continue stepping through the process,

    But now the problem is in other system (same system configuration as the previous), only three threads are created i.e,

    System Thread [Finalizer] (Running)
    System Thread [Reference Handler] (Running)
    Thread [main] (Running)

    and at the breakpoint the threads are not getting suspended.

    System Configuration
    OS : Windows2000 Professional
    Eclipse : 2.1, MyEclipse Enterprise Workbench
    Tomcat : 4.1

    #215265 Reply

    Riyad Kalla
    Member

    What are you debugging? Tomcat 4 does not support JSP debugging with MyEclipse, assuming that is what you are trying.

    Also what version of MyEclipse are you using?

    #215311 Reply

    bhagya
    Member

    @support-rkalla wrote:

    What are you debugging? Tomcat 4 does not support JSP debugging with MyEclipse, assuming that is what you are trying.

    Also what version of MyEclipse are you using?

    Hi,

    As I have specified in the subject line as “Problem in Debugging Java code”, Iam debugging the java code only and not the JSP
    Iam using MyEclipse Enterprise Workbench v2.7-GA

    Again I would like to you tell that with the same configuration and versions of all the software as the other system (which is working), debugging is not functioning in some systems.

    Thankyou

    Regards,
    Bhagyalakshmi.R

    #215328 Reply

    Riyad Kalla
    Member

    Bhagyalakshmi,
    If you are only debugging Java code, then that is an Eclipse issue, not a MyEclipse issue. The Java debugger is part of the base Eclipse JDT that MyEclipse sits ontop of, we only *hook into* it when debugging JSP pages. You may have better luck approaching the Eclipse newsgroup or mailing list from the http://www.eclipse.org site for help.

    #215329 Reply

    Riyad Kalla
    Member

    Moving to Random Thoughts for discussion/help from users.

    Bhagyalakshmi,
    Additionally make sure your compiler settings are leaving in the debugging symbols when you are compiling the classes so they can be debugged.

Viewing 5 posts - 1 through 5 (of 5 total)
Reply To: Problem in Debugging Java code

You must be logged in to post in the forum log in