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 38471

Summary: IDE freezes for a long time when starting the debugger
Product: javaee Reporter: Petr Jiricka <pjiricka>
Component: DebuggerAssignee: Martin Grebac <mgrebac>
Status: VERIFIED FIXED    
Severity: blocker Keywords: PERFORMANCE
Priority: P2    
Version: 3.x   
Hardware: PC   
OS: Windows XP   
Issue Type: DEFECT Exception Reporter:
Attachments: Two thread dumps, look at the AWT event queue

Description Petr Jiricka 2004-01-07 09:47:39 UTC
When starting a web application in the debugger
using the 'Debug -> Start Session -> Run in
Debugger' action, the IDE freezes for some time,
and no progress dialog is visible. This is because
starting the debugger happends in the AWT thread,
see the attached thread dumps.
Comment 1 Petr Jiricka 2004-01-07 09:51:24 UTC
Created attachment 12733 [details]
Two thread dumps, look at the AWT event queue
Comment 2 Martin Grebac 2004-01-07 09:55:49 UTC
Yes, I know about it, it's on my task list. Thought this can be solved
after feature freeze.
Comment 3 _ rkubacki 2004-01-07 10:51:03 UTC
Someone should evaluate if it is OK to declare StartAction in debugger
as sunchronous. Maybe it is OK but then you can't block AWT thread
with sleep().
Comment 4 Martin Grebac 2004-01-07 17:15:20 UTC
Started task in new thread.
Comment 5 L Martinek 2004-01-17 13:58:23 UTC
verified