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 173238 - [attach profiler] platform in the attach setings dialog does not fit the default platform of the application
Summary: [attach profiler] platform in the attach setings dialog does not fit the defa...
Status: RESOLVED INVALID
Alias: None
Product: profiler
Classification: Unclassified
Component: Base (show other bugs)
Version: 6.x
Hardware: Sun All
: P3 blocker (vote)
Assignee: issues@profiler
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-29 10:04 UTC by matusdekanek
Modified: 2009-11-02 10:23 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
messages.log (701.92 KB, text/plain)
2009-09-29 10:07 UTC, matusdekanek
Details
messages.log (701.92 KB, text/plain)
2009-09-29 10:16 UTC, matusdekanek
Details

Note You need to log in before you can comment on or make changes to this bug.
Description matusdekanek 2009-09-29 10:04:48 UTC
Product Version: NetBeans IDE Dev (Build 200909221401)
Java: 1.6.0_12; Java HotSpot(TM) Client VM 11.2-b01
System: SunOS version 5.10 running on sparc; ISO646-US; en (nb)

the ide is installed and the profiler has been already calibrated with default platform (j 1.6)
-create 'anagram game' sample project
-build it (java 1.6 platform)
-invoke 'attach profiler' in the main menu
-on the bottom of the dialog press 'define' (settings) link
-in the dialog select the 'anagram game' as the appplication and continue trough dialog
On the page with java platforms is selected java 1.5, though the jdk1.5 is not installed on my system, it is not the
default platform for netbeans and the anagram game project is not using it. 

One could easily miss this setting, and the result (error message mentioning incorrect java platform) might be a bit
confusing.

I do not remember this behaviour on windows as far as I remember.
Comment 1 matusdekanek 2009-09-29 10:07:54 UTC
Created attachment 88485 [details]
messages.log
Comment 2 matusdekanek 2009-09-29 10:16:44 UTC
Created attachment 88486 [details]
messages.log
Comment 3 Jiri Sedlacek 2009-11-02 10:23:39 UTC
Attach Wizard is primarily used for attaching the profiler to applications started outside of the IDE, either locally or
remotely. There's no relation between Attach Wizard and Java platforms installed in the IDE.

Each setting in the wizard is important, if you miss any of them the profiling may not work. If you want the profiler to
use project settings for profiling, use Profile Project action.