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 62319

Summary: Detect compilation without debug information before code region profiling
Product: profiler Reporter: ehucka <ehucka>
Component: BaseAssignee: issues@profiler <issues>
Status: REOPENED ---    
Severity: blocker    
Priority: P4    
Version: 4.x   
Hardware: All   
OS: Linux   
Issue Type: DEFECT Exception Reporter:
Attachments: test class

Description ehucka 2005-08-15 16:40:03 UTC
build 050815 m8v2, jdk 1.5.0_04

Select Code Fragment by part of method code always throws an error: "Can't find
a method for the given source line...". The profiled application is started but
profiler doesn't detect running application (Stop button is disabled).
Comment 1 iformanek 2005-08-17 13:12:14 UTC
Please attach the sample code as requested and reopen.
Comment 2 ehucka 2005-08-17 15:45:21 UTC
I tried to reproduce it on windows and solaris but it is only on linux. I used
attached simple.CPU class and set code fragment from line 21 to line 23.
Comment 3 ehucka 2005-08-17 15:46:22 UTC
Created attachment 24000 [details]
test class
Comment 4 ehucka 2005-09-06 14:19:14 UTC
I found the code was compiled without debug information, my mistake. Maybe the
profiler could detect this state.
Comment 5 iformanek 2005-12-10 00:49:54 UTC
Will not address in 1.0
Comment 6 Tomas Hurka 2009-04-08 12:56:31 UTC
Milestone cleanup: future->next