facebook

Source not found durring debugging even after creating .zip

💡
Our Forums Have Moved

For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub

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

    dleatham
    Member

    I’m creating a program that is leveraging an open source project on sourceforge.org. I’m able to use the main .jar file for the project to utilize the binaries with no problem. However, when I’m debugging I cannot see any of the source files for the project, and I constantly get the error “Source Not Found.” (Apparently the .jar file that has the binaries I need doe not also include the source files.)

    By clicking on the “Change Attached Source” button I’ve tried to point directly to the .java file. This does not work because the required file-type by myEclipse is either .zip or .jar files. I tried putting all the source/class files from the project into a zipped folder and then pointed to the .zip file using the “Change Attached Source” button. This does not work. Even though both the java and class files are in the zipped directory MyEclipse will not see the files when they are needed to do debugging.

    Is there anything unique or special in creating a .zip source/class file that needs to be done to get this functionality to work?

    Thanks,

    Don

    Here is my configuration info:
    =====================================
    *** Date:
    Wednesday, February 28, 2007 12:57:30 AM MST

    ** System properties:
    OS=WindowsXP
    OS version=5.1
    Java version=1.5.0_08

    *** MyEclipse details:
    MyEclipse Enterprise Workbench
    Version: 5.1.0 GA
    Build id: 20061111-5.1.0-GA

    *** Eclipse details:
    MyEclipse Enterprise Workbench

    Version: 5.1.0 GA
    Build id: 20061111-5.1.0-GA

    Eclipse Graphical Editing Framework

    Version: 3.2.1.v20060921
    Build id: 20060921-1617

    Eclipse Platform

    Version: 3.2.1.r321_v20060921-b_XVA-INSQSyMtx
    Build id: M20060921-0945

    Eclipse RCP

    Version: 3.2.1.r321_v20060801-2ekW2BxmcpPUOoq
    Build id: M20060921-0945

    Eclipse Java Development Tools

    Version: 3.2.1.r321_v20060905-R4CM1Znkvre9wC-
    Build id: M20060921-0945

    Eclipse Project SDK

    Version: 3.2.1.r321_v20060801-tQ1w49KnTArT0FZ
    Build id: M20060921-0945

    Eclipse startup command=-os
    win32
    -ws
    win32
    -arch
    x86
    -launcher
    C:\Program Files\MyEclipse Enterprise Workbench 5.1.0 GA\eclipse\eclipse.exe
    -name
    Eclipse
    -showsplash
    600
    -exitdata
    974_88
    -vm
    C:\Program Files\MyEclipse Enterprise Workbench 5.1.0 GA\jre\bin\javaw.exe

    #266804

    Riyad Kalla
    Member

    Don,
    There is nothing special about this process. Try going to your project properties under Java Build Path and then the Libraries tab. From there select the JAR in your build path and attach Source to it there, that should do the trick.

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: Source not found durring debugging even after creating .zip

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