File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes IDEs, Version Control and other tools and the fly likes eclipse Step-Filtering Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "eclipse Step-Filtering" Watch "eclipse Step-Filtering" New topic
Author

eclipse Step-Filtering

ulvi ugur
Ranch Hand

Joined: Aug 05, 2003
Posts: 46

Hi All,

I use eclipse for a API development project. As usual, I added the API libraries as jars into my (Java Build Path->Libraries).

The problem is that when I start runnung the application in debug mode, it stops on a thread which refers to the API code with 2 symptoms :

1- It says "Source not found" in the Class File Editor and expects me to "Attach Source".
2- It shows a Thread Suspended in the Debug Window with a NullPointerException

In order to get rid of the first issue, I added the API packages in the Preferences->Java->Debug->Step Filtering step. This didn't work !

In order to adress it over the exception, I disabled "Suspend execution on uncaught exceptions" parameter. This didn't work either !

Any ideas how one can resolve this issue ?

Cheers,

Ulvi
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5779
    
    7

Do you gave the source files for the JARs? If so, go to Java Build Path | Libraries, expand the JAR and there will be a source file attachment entry. Click on that and browse to the source file(s).


JBoss In Action
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: eclipse Step-Filtering
 
Similar Threads
JDK and Lion
Config files in a classpath ?
eclipse debug
Eclipse debug not finding the code block
how to add API document to eclipse