Bug 498188 - Feature to put a breakpoint in all the search results
Summary: Feature to put a breakpoint in all the search results
Status: NEW
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Debug (show other bugs)
Version: 4.7   Edit
Hardware: PC Windows 7
: P3 enhancement with 1 vote (vote)
Target Milestone: ---   Edit
Assignee: JDT-Debug-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-07-20 06:08 EDT by Manoj N Palat CLA
Modified: 2016-07-21 00:16 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Manoj N Palat CLA 2016-07-20 06:08:58 EDT
Need a facility where I can put a breakpoint in all the statements in the search results wherever applicable (say Javadoc results are not for eg)

An old so link also says - http://stackoverflow.com/questions/29336540/breakpoint-on-search-results-in-eclipse
Comment 1 Manoj N Palat CLA 2016-07-21 00:16:09 EDT
(In reply to Manoj Palat from comment #0)
> Need a facility where I can put a breakpoint in all the statements in the
> search results wherever applicable (say Javadoc results are not for eg)
> 
> An old so link also says -
> http://stackoverflow.com/questions/29336540/breakpoint-on-search-results-in-
> eclipse

An additional requirement would be to put the breakpoint in the next statement (wherever possible) as explained below:

use_case:
Consider a search for a write access of a variable/field f and assume we have the result:

 f = fill_the_value();
 use_field(f);

It would save one step if the breakpoint is enable at the use_field(f);
In cases where the statement is at the end of a block, the default could be the statement itself.