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

Summary: Deadlock on evaluating expresion with endless loop
Product: debugger Reporter: pzajac <pzajac>
Component: JavaAssignee: issues@debugger <issues>
Status: CLOSED DUPLICATE    
Severity: blocker CC: jchalupa
Priority: P3 Keywords: THREAD
Version: 4.x   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:
Attachments: threads dump
threads dump

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