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

Bug 344812

Summary: Setting a breakpoint to an interface method
Product: [Eclipse Project] JDT Reporter: Rainer Klute <rainer.klute>
Component: DebugAssignee: JDT-Debug-Inbox <jdt-debug-inbox>
Status: CLOSED DUPLICATE QA Contact:
Severity: enhancement    
Priority: P3 CC: btickets, daniel_megert, remy.suen
Version: 3.7   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

Description Rainer Klute CLA 2011-05-05 04:54:49 EDT
Build Identifier: 

It often happens that you want to debug some code and all you know about it is that it implements a certain interface. However, you don't know which class implements that interface. Or you have quite a couple of interfaces but you don't know which one will actually be used under whatever circumstances.

Bottom line: It would be cool if you could set a breakpoint on entering a method by specifying the interface method only. Eclipse would then have to find out dynamically which classes implement that interface and propagate the breakpoint from the interface method to the corresponding methods in all the implementing classes.

Reproducible: Always

Steps to Reproduce:
Does not apply for an enhancement.
Comment 1 Dani Megert CLA 2011-05-05 06:09:44 EDT

*** This bug has been marked as a duplicate of bug 84916 ***