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 51023 - Deadlock on evaluating expresion with endless loop
Summary: Deadlock on evaluating expresion with endless loop
Status: CLOSED DUPLICATE of bug 56233
Alias: None
Product: debugger
Classification: Unclassified
Component: Java (show other bugs)
Version: 4.x
Hardware: PC Linux
: P3 blocker (vote)
Assignee: issues@debugger
URL:
Keywords: THREAD
Depends on:
Blocks:
 
Reported: 2004-11-01 09:57 UTC by pzajac
Modified: 2006-03-24 09:57 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
threads dump (16.10 KB, text/plain)
2004-11-01 09:58 UTC, pzajac
Details
threads dump (28.11 KB, text/plain)
2005-03-01 13:26 UTC, pzajac
Details

Note You need to log in before you can comment on or make changes to this bug.
Description pzajac 2004-11-01 09:57:39 UTC
[200410311800]
Add a expresion with endless loop to the Watches.
The awt-eventqueue is blocked.
Comment 1 pzajac 2004-11-01 09:58:14 UTC
Created attachment 18634 [details]
threads dump
Comment 2 Jan Jancura 2004-11-03 12:39:09 UTC

*** This issue has been marked as a duplicate of 46614 ***
Comment 3 pzajac 2004-11-15 09:05:15 UTC
v
Comment 4 _ lcincura 2005-02-08 14:56:40 UTC
According to comment by Hanz in issue 46614, this issue is not duplicate.
Comment 5 _ lcincura 2005-02-08 15:00:44 UTC
Current solution is not flawless.
1, Create a static method containing endless loop
2, Add expression to watches which will invoke the method
3, Start debugging -> when debugger evaluates the expression, the IDE
is not locked any more, but becomes very unresponsive - all the
actions lasts long time.

BTW this work fine in other IDEs.
Comment 6 Jan Jancura 2005-02-08 16:05:39 UTC
Sorry, but onece again. This is not a deadlock.
If you think its real user problem, create a new issue for it. But I
think that its user problem.
Comment 7 pzajac 2005-03-01 13:25:03 UTC
The watch with infinite loop doesn't block debugger. But after finish
debugger action the AWT-QUEUE is blocked again. Threads dump is in the
attachment. 
 
Comment 8 pzajac 2005-03-01 13:26:12 UTC
Created attachment 20582 [details]
threads dump
Comment 9 Jan Jancura 2005-03-11 09:38:27 UTC

*** This issue has been marked as a duplicate of 56233 ***
Comment 10 pzajac 2005-03-14 15:08:54 UTC
v