Community
Participate
Working Groups
- Installed Eclipse SDK I20111025-1800 - Create a clean workspace - Create a plug-in project, I used: New -> Project -> Plug-In project -> "Hello, World" - Place a break point in SampleAction#run() on the "MessageDialog.openInformation()" line - Debug Eclipse application - Trigger breakpoint by selecting Sample Menu -> Sample Action - Press "Step Over" on the toolbar or press F6 - Nothing happens Same for "step into", "step return". I see the same behavior on Mac and Windows 7, both 64 bit. For a breakpoint placed in another spot (such as SampleAction.init()) stepping works fine.
Unless I'm missing something, the described behavior is correct. User is stepping over an operation that opens a modal dialog. So while the dialog is open the step operation is "running". When I try to reproduce, I see the state of the thread correctly changing to running (with running icon overlay), and at this point the run actions become disabled. The only fault I can find is that stack frames are also supposed to get the green triangle overlay. At least that's what happens in CDT, I'm not sure if JDT supported this feature. Please reopen if I made a mistake.
You are correct. I checked and it works the same way in 3.7. The absence of UI indicators saying that the thread is running does look like a bug to me, but apparently it was this way before, so I'll leave it up to you to decide if this should be a bug or not.