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 101168 - [DEBUGGER] Process is not finished id debugging session is finished in another thread
Summary: [DEBUGGER] Process is not finished id debugging session is finished in anothe...
Status: RESOLVED DUPLICATE of bug 100955
Alias: None
Product: ruby
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Martin Krauskopf
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-04-16 15:30 UTC by Tomas Danek
Modified: 2007-07-03 14:44 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-16 15:30:39 UTC
NetBeans Ruby IDE 070416
1.6.0-rc; Java HotSpot(TM) Client VM 1.6.0-rc-b99
Windows XP version 5.1 running on x86
en_US (nbrubyide); Cp1252
---------------------------
native ruby + fast debugger

have a code:
-----------------
require "thread"
N=3
def abc(n)
  while TRUE
    puts n
  end
end

for n in 0..N-1
  Thread.start(n){|i| abc(i)}
end

sleep
--------------------
- put BP to line with "for" and to line with "puts  n"
- run debugger, it stops at "for" line, notice the thread number (there's only
one thread), invoke s-f5, session is finished, no process remains
- run debugger again, it stops at "for" line, now push f8 multiple times to make
another thread active, invoke s-f5, session seems finished, but there's process
still hanging!
Comment 1 Martin Krauskopf 2007-04-16 21:41:41 UTC
Easily reproduced also on Linux, thanks. Actually the same problem as in issue
100955. Please reopen if you are still able to reproduce.

*** This issue has been marked as a duplicate of 100955 ***
Comment 2 Jiri Kovalsky 2007-07-03 14:14:06 UTC
Reassigning this issue to newly created 'ruby' component.
Comment 3 Jiri Kovalsky 2007-07-03 14:44:36 UTC
Changing target milestone of all resolved Ruby issues from TBD to 6.0 Beta 1 build.