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.
Profiling of tests does not work and the following content is printed to the console: profile-test: Profiler Agent: Waiting for connection on port 5140, timeout 10 seconds (Protocol version: 12) Profiler Agent: Established connection with the tool Profiler Agent: Local accelerated session FATAL ERROR in native method: JDWP No transports initialized, jvmtiError=AGENT_ERROR_TRANSPORT_LOAD(196) ERROR: transport library not found: ${debug-transport} ERROR: JDWP Transport ${debug-transport} failed to initialize, TRANSPORT_LOAD(509) JDWP exit error AGENT_ERROR_TRANSPORT_LOAD(196): No transports initialized [../../../src/share/back/debugInit.c:690] NetBeans Dev 201206100001, java 6u32 32bit
this happens when invoking profile test file on the file which the test file tests whilst having compile on save turned on, otherwise profiling test files works for me.
fixed - http://hg.netbeans.org/profiler-main/rev/6e93b10d2566 Thanks for intercepting this!
No problem, if this will be integrated soon, I will add appropriate parts to the Unit Testing TS to handle profiling tests and test suites.
Please do not change priority and target milestone.
Integrated into 'main-golden', will be available in build *201206130001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/6e93b10d2566 User: Jaroslav Bachorik <yardus@netbeans.org> Log: #213943: fixing profiling unit tests for CoS