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 - Profile Test For greyed out
Summary: Profile Test For greyed out
Status: RESOLVED INCOMPLETE
Alias: None
Product: profiler
Classification: Unclassified
Component: Ide (show other bugs)
Version: 6.x
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: issues@profiler
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-20 18:32 UTC by hiro2k
Modified: 2011-07-01 07:34 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 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