facebook

Sychronized code in the debugger and src [Closed]

  1. MyEclipse IDE
  2.  > 
  3. General Development
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #202789 Reply

    etornick
    Member

    Hi:

    I must have lost the first submit on this problem so I am re-writing it. This time I will make it shorter.

    In order to pinpoint some errors I am getting with my tag library files I added some jasper jar files to my build path and attached the source to it. That way I can have the debugger stop when the exception first occurs and I can hopefully pinpoint the problem.

    What I am noticing is as I step through the code the debugger is stepping on comment lines, and skipping around to lines that are not the next one in the source.

    It is acting as if the source is not in sync with the jar files that have the classes. I am pretty sure I downloaded the release build source and “binaries” so they should be from the same build.

    Is this definitely a problem with my source and binary syncronization or is this a myeclipse issue.

    #202791 Reply

    Riyad Kalla
    Member

    Can you reply to this post and hit the “Insert” button and fill out your system information? Also what version of Tomcat are you using? What OS are you running?

    And it wouldn’t hurt to double check the files you downloaded, for example if you downloaded the newest Tomcat:
    http://apache.secsup.org/dist/jakarta/tomcat-5/v5.0.18/bin/jakarta-tomcat-5.0.18.exe

    when you install it you should have an option to include the source code. If you installed via the zip, or are on unix, the source you downloaded should be this:
    http://ftp.epix.net/apache/jakarta/tomcat-5/v5.0.18/src/jakarta-tomcat-5.0.18-src.tar.gz

    #202804 Reply

    etornick
    Member

    – System Setup ——————————-
    Operating System and version: win2k service pack 4
    Eclipse version: 2.12
    Eclipse build id: 200311030802
    Fresh Eclipse install (y/n): y
    If not, was it upgraded to its current version using the update manager? n
    Other installed external plugins:
    Number of plugins in the <eclipse>/plugins directory:
    MyEclipse version: 2.6.200
    Eclipse JDK version: 2.12
    Application Server JDK version: 1.4.1_02
    Are there any exceptions in the Eclipse log file? Don’t know where to find it

    – Message Body ——————————-
    undefined

    #202805 Reply

    etornick
    Member

    I checked and I used the following files which I downloaded from http://jakarta.apache.org

    jakarta-tomcat-5.0.18.zip
    jakarta-tomcat-5.0.18-src.zip

    #202807 Reply

    support-michael
    Keymaster

    Is this definitely a problem with my source and binary syncronization or is this a myeclipse issue.

    This sounds like an out-of-sync problem between your version of Tomcat and the src MyEclipse/Eclipse is locating at debug time. MyEclipse uses the basic Eclipse JDT debugging model for std java debugging. We do some different things for JSP support but that doesn’t sound like where your problem is arising. Am I correct?

    #202811 Reply

    etornick
    Member

    I think I had a source attachement to a wrong src version. I redid my attaches to each jar file in tomcat very very very carefully this time. I have my fingers crossed but it seems to be stepping thru the code nicely.

    Perhaps I am just being too careless and have to slow down.

    I guess you can consider this problem closed. Sorry for the errors on my end.

    thanks for the help.

    Ed

    #202813 Reply

    support-michael
    Keymaster

    Thanks for closing the loop with us. Good luck w/ MyEclipse and your tag development.

Viewing 7 posts - 1 through 7 (of 7 total)
Reply To: Sychronized code in the debugger and src [Closed]

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