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 251695 - Methods table does not contain any entries
Summary: Methods table does not contain any entries
Status: RESOLVED INVALID
Alias: None
Product: profiler
Classification: Unclassified
Component: Base (show other bugs)
Version: 8.1
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: issues@profiler
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-04-07 09:58 UTC by stwr
Modified: 2015-04-08 06:51 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Copy of messages.log (74.76 KB, text/plain)
2015-04-07 09:58 UTC, stwr
Details
Picture showing the current behavior (95.59 KB, image/png)
2015-04-07 09:58 UTC, stwr
Details

Note You need to log in before you can comment on or make changes to this bug.
Description stwr 2015-04-07 09:58:05 UTC
Created attachment 153075 [details]
Copy of messages.log

Product Version: NetBeans IDE Dev (Build 201504020001)
Java: 1.8.0_31; Java HotSpot(TM) 64-Bit Server VM 25.31-b07
Runtime: Java(TM) SE Runtime Environment 1.8.0_31-b13
System: Windows 7 version 6.1 running on amd64; Cp1250; en_US (nb)
User directory: C:\Users\cendrowiczm\AppData\Roaming\NetBeans\dev
Cache directory: C:\Users\cendrowiczm\AppData\Local\NetBeans\Cache\dev

Use Case:

1. Run file (e.g. MemoryLeakOrNot?|Example4|main)
2. Profile the main method by attaching the profiler to external process
3. Lookup the 'Methods'

The table 'Methods' does not contain entries. It should contain at least an entry representing the main thread like it is when profiling the entire class.
Comment 1 stwr 2015-04-07 09:58:37 UTC
Created attachment 153076 [details]
Picture showing the current behavior
Comment 2 Tomas Hurka 2015-04-07 11:20:13 UTC
This is expected. If you attach profiler to already running project, main method was already executed.
Comment 3 stwr 2015-04-08 06:51:51 UTC
Correct :)