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 168346 - Help to find memory leak
Summary: Help to find memory leak
Status: NEW
Alias: None
Product: cnd
Classification: Unclassified
Component: Profile (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@cnd
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-07-09 15:31 UTC by Leonid Lenyashin
Modified: 2010-11-12 22:34 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Leonid Lenyashin 2009-07-09 15:31:31 UTC
When a user navigates from a "Memory Leaks" window to a malloc that is problematic then it would be nice to help a user
to see "free" corresponding to this malloc. It was obvious that this feature is lucking during the usability study. 
Technically we need to use "Find usages" engine to do this.
I can envision a few ways how to present it to a user:
1) When navigating to a 
  complex* t = malloc(sizeof(complex));
  a suggestion tip appears "Find deallocations", and if user clicks then something like find usages of free(t) is invoked.
2) A tool tip on any malloc or new always shows hyperlinked search results of frees or deletes
3) In memory leak window every line has a [+] on the left. When expended we do the find usages.