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 199562

Summary: Profile Test For greyed out
Product: profiler Reporter: hiro2k
Component: IdeAssignee: issues@profiler <issues>
Status: RESOLVED INCOMPLETE    
Severity: normal    
Priority: P3    
Version: 6.x   
Hardware: PC   
OS: Windows 7   
Issue Type: DEFECT Exception Reporter:

Description hiro2k 2011-06-20 18:32:06 UTC
I'm wrint some JUnit 4.5 tests and want to profile one of them. 

First I tried by right clicking the test file and selecting Profile File, but it gives me an error saying: Unable to start profiling. Please make sure that the project type is supported and/or the selected file can be executed.

So I then I found out that for the JUnit tests it's better to use the menu Profile -> Profile Other -> Profile Test for "myfile.java", but it's always greyed out. 

What am I doing wrong?
Comment 1 J Bachorik 2011-07-01 07:34:04 UTC
Please, provide more information - at least the project type you are using (J2SE, Freeform etc.) and IDE log.

Thanks