Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 333531

Summary: Eclipse hangs after setting a breakpoint
Product: [Eclipse Project] JDT Reporter: Ian Bull <irbull>
Component: TextAssignee: JDT-Text-Inbox <jdt-text-inbox>
Status: CLOSED DUPLICATE QA Contact:
Severity: normal    
Priority: P3 CC: daniel_megert
Version: 3.6.1   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:
Attachments:
Description Flags
Stack dump none

Description Ian Bull CLA 2011-01-05 01:17:39 EST
Created attachment 186069 [details]
Stack dump

Build: 3.6.1

After setting a breakpoint, Eclipse hung.  I took a stack dump and it appears the UI thread is waiting inside: 

org.eclipse.jdt.internal.ui.javaeditor.ASTProvider.getAST(ASTProvider.java:456)

I'll attach the stack dump.
Comment 1 Dani Megert CLA 2011-01-05 03:18:13 EST
It would be great to have steps.

*** This bug has been marked as a duplicate of bug 322914 ***
Comment 2 Ian Bull CLA 2011-01-05 11:54:45 EST
Honestly I don't have any steps.  I really just double clicked on the margin to add a breakpoint.

I wonder if a compile job was finishing, and we hit a subtle race condition. 

I'll look at the duplicate bug report and see if I can make heads or tails of this.