Java Solaris Communities Sun Store Join SDN My Profile Why Join?
 
Bug Database
Bug Detail
Quick Lists
Top 25 Bugs
Top 25 RFE's
Recently Closed Bugs
Printable Page Printable Page


Bug Database
Bug ID: 4836939
Votes 0
Synopsis JDI: Add addSourceFileFilter method to ClassPrepareRequest
Category java:debugger
Reported Against 1.4
Release Fixed mustang(b39)
State 10-Fix Delivered, request for enhancement
Priority: 4-Low
Related Bugs
Submit Date 25-MAR-2003
Description
If an IDE user clicks on a line in a JSP and wants to set a bkpt on that
line, what is the IDE to do if the class that will contain the bkpt
has not yet been loaded?  It doesn't know the classname that will
contain the line in question.   One solution is to create a ClassPrepareRequest,
and wait for a ClassPrepareEvent for a class that has a SourceDebugExtension
that names the source file in question.  This is very slow.  It can
be made faster by using an exclude filter that excludes common packages
such as java.*, javax.*, etc.  But it would be better to have a
new filter in which the desired source file name can be specified.
Work Around
N/A
Evaluation
Need to add a filter to class prepare request that
allows filtering by source name.
  xxxxx@xxxxx   2005-05-07 06:15:45 GMT
Comments
  
  Include a link with my name & email   


PLEASE NOTE: JDK6 is formerly known as Project Mustang