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 100614 - [DEBUGGER] process is not killed when session is finished
Summary: [DEBUGGER] process is not killed when session is finished
Status: VERIFIED FIXED
Alias: None
Product: ruby
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Martin Krauskopf
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-04-11 14:15 UTC by Tomas Danek
Modified: 2007-07-03 14:46 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 Tomas Danek 2007-04-11 14:15:54 UTC
NetBeans IDE Dev (Build 200704101800)
1.6.0_01; Java HotSpot(TM) Client VM 1.6.0_01-b04
Linux version 2.6.17-10-generic running on i386
cs_CZ (nb); UTF-8
+ ruby 0.65 (debugger 0.80)
-----------------------------------
- start with fresh UD, set up fast debugger
- create ruby app, put breakpoint to line with puts
- push F5
- finish session by s-f5
- process is still running
Comment 1 Tomas Danek 2007-04-11 14:23:41 UTC
when you try to kill process, you get 99% AE from issue 100598
Comment 2 Martin Krauskopf 2007-04-11 14:27:48 UTC
> when you try to kill process, you get 99% AE from issue 100598

It was fixed already.
Comment 3 Martin Krauskopf 2007-04-11 14:34:18 UTC
But you are right that there is always the warning now. So it is reproducible
testcase. Thanks.

Fixed this one:
debugger/src/org/netbeans/modules/ruby/debugger/RubyDebuggerActionProvider.java;
new revision: 1.5; previous revision: 1.4
debugger/src/org/netbeans/modules/ruby/debugger/RubySession.java;
new revision: 1.10; previous revision: 1.9
Comment 4 Martin Krauskopf 2007-04-11 15:14:52 UTC
Also this revealed the leaking listener. Good catch Tomasi. I'm still tunning it
a little bit more, since there are more "finishing" scenarios.

debugger/src/org/netbeans/modules/ruby/debugger/RubyDebuggerActionProvider.java;
new revision: 1.6; previous revision: 1.5
debugger/src/org/netbeans/modules/ruby/debugger/RubySession.java;
new revision: 1.11; previous revision: 1.10
Comment 5 Martin Krauskopf 2007-04-11 18:44:10 UTC
And yet little bit more.

debugger/src/org/netbeans/modules/ruby/debugger/RubyDebuggerActionProvider.java;
new revision: 1.7; previous revision: 1.6
debugger/src/org/netbeans/modules/ruby/debugger/RubySession.java;
new revision: 1.12; previous revision: 1.11
debugger/test/unit/src/org/netbeans/modules/ruby/debugger/RubyDebuggerTest.java;
new revision: 1.14; previous revision: 1.13
external/debug-commons-java-0.7.2.jar;
new revision: 1.5; previous revision: 1.4
Comment 6 Martin Krauskopf 2007-04-11 18:59:43 UTC
+ less flashy OW

OutputForwarder.java;
new revision: 1.6; previous revision: 1.5
Comment 7 Tomas Danek 2007-04-12 12:44:07 UTC
works fine, thanks, verified in #899
Comment 8 Jiri Kovalsky 2007-07-03 14:15:43 UTC
Reassigning this issue to newly created 'ruby' component.
Comment 9 Jiri Kovalsky 2007-07-03 14:46:22 UTC
Changing target milestone of all resolved Ruby issues from TBD to 6.0 Beta 1 build.