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 205363

Summary: Profiler session should be finished after fully detaching from profiled app
Product: profiler Reporter: Jiri Sedlacek <jis>
Component: BaseAssignee: Tomas Hurka <thurka>
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: 7.0   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description Jiri Sedlacek 2011-11-21 15:42:53 UTC
For dynamic attach, profiler actions are enabled and the UI is ready for a new profiler session shortly after invoking Detach without terminating the profiled application. However, the agent in profiled application still deinstruments its bytecode and blocks the comm port. Starting a new profiling session during this time fails.

As a simple fix, the profiler session should be finished and actions enabled after fully deinstrumenting the detached application.
Comment 1 Jiri Sedlacek 2013-06-04 14:25:35 UTC
Also applies to direct attach - visible for a remote session after detaching and leaving the profiled app running.