This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 61799 - Better description of instrumentation filters
Summary: Better description of instrumentation filters
Status: CLOSED FIXED
Alias: None
Product: profiler
Classification: Unclassified
Component: Base (show other bugs)
Version: 4.x
Hardware: All Windows XP
: P3 blocker (vote)
Assignee: Jiri Sedlacek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-08-04 14:03 UTC by ehucka
Modified: 2006-03-24 12:51 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description ehucka 2005-08-04 14:03:41 UTC
I cannot find any help specifing how I should set instrumentation filter values
or Quick filter values and what does mean 'Exclusive' or 'Inclusive'.
I created an 'Exclusive' filter which points to global filters like 'java.*' but
it seems profiler instrumented only java.* classes with this filter. I assume
such filter should excludes these classes.
Comment 1 Jiri Sedlacek 2005-10-21 14:41:19 UTC
This in fact describes two separate issues:

1/ Global Filters dialog allows to enter invalid filter values. As the sign '*' 
isn't supported in instrumentation filters (and that's why the filter behaves 
differently than expected), it shouldn't be accepted. This is only checked in 
QuickFilter, not in GF dialog.

2/ There is no visible explanation what filter settings mean and how to 
construct new instrumentation filter.
Comment 2 Jiri Sedlacek 2005-10-21 15:02:00 UTC
Fixed part 1/.

Added support for '*' sign at the end of instrumentation filter. Because the 
filter uses simple startsWith logic, this sign makes no change to results, it's 
simply removed before filter evaluation.
Comment 3 Jiri Sedlacek 2005-10-21 18:42:46 UTC
Fixed part 2/. QuickFilter dialog, FilterSets and GlobalFilters dialogs now 
contain simple description about setting the filters.

Fixed for M10.
Comment 4 ehucka 2005-12-22 10:04:25 UTC
verified