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 100052 - can't run netbeans with the profiler agent switch
Summary: can't run netbeans with the profiler agent switch
Status: RESOLVED INVALID
Alias: None
Product: profiler
Classification: Unclassified
Component: Base (show other bugs)
Version: 6.x
Hardware: All Mac OS X
: P3 blocker (vote)
Assignee: issues@profiler
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-04-05 07:55 UTC by Milos Kleint
Modified: 2007-10-23 09:59 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 Milos Kleint 2007-04-05 07:55:58 UTC
NetBeans IDE Dev (Build 200704021800)
1.5.0_07; Java HotSpot(TM) Client VM 1.5.0_07-87
Mac OS X version 10.4.9 running on i386
en_US (nb); MacRoman

according to the Attach profiler wizard, I have tried to setup netbeans to be
profilable.
1. minor issue was that the current default app name of dev builds on mac is
"Netbeans 6.0 Dev.app" and the parameters shown are not put in brackets
correctly so it cannot be just C&Ped.
2. however when finally running, the started jvm stops immediately. The output
below.

hydrogen:~/src/nbbuild mkleint$ ./netbeans/bin/netbeans
-J-agentpath:/Users/mkleint/src/nbbuild/nbprof/lib/deployed/jdk15/mac/libprofilerinterface.jnilib=/Users/mkleint/src/nbbuild/nbprof/lib,5140

Profiler Agent: Initializing...
Profiler Agent: Options: >/Users/mkleint/src/nbbuild/nbprof/lib,5140<
Profiler Agent: Initialized succesfully
Profiler Agent: Waiting for connection on port 5140 (Protocol version: 6)
Profiler Agent: Established local connection with the tool
dlsym(RTLD_DEFAULT, JVM_DumpHeap): symbol not found
Profiler Agent: Redefining 100 classes at idx 0, out of total 414 
Profiler Agent: Redefining 100 classes at idx 100, out of total 414 
Profiler Agent: Redefining 100 classes at idx 200, out of total 414 
Profiler Agent: Redefining 100 classes at idx 300, out of total 414 
Profiler Agent: Redefining 14 classes at idx 400, out of total 414 
Profiler Agent: Connection with agent closed
Profiler Agent: Connection with agent closed
hydrogen:~/src/nbbuild mkleint$
Comment 1 Tomas Hurka 2007-09-11 13:33:18 UTC
It looks me like another instance of NetBeans with the same userdir was already running.  Is it possible?
Comment 2 Milos Kleint 2007-09-11 13:40:27 UTC
quite possible
Comment 3 Alexander Kouznetsov 2007-10-23 09:59:20 UTC
Closing due to no comments within 4 weeks on INCOMPLETE status. Please reopen if reproduced again.