Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 332065 - Add ability to step over chunks of code without adding a breakpoint
Summary: Add ability to step over chunks of code without adding a breakpoint
Status: RESOLVED WORKSFORME
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Debug (show other bugs)
Version: 4.1   Edit
Hardware: PC All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Platform-Debug-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-12-07 13:28 EST by Pudas CLA
Modified: 2010-12-07 13:47 EST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Pudas CLA 2010-12-07 13:28:33 EST
Build Identifier: 

Presently while debugging, in order to skip over a chunk of code and stop immediately after it (a while loop for example) you need to either keep hitting step, or put a breakpoint after the chunk of code that you would like to skip over and click resume.  

I propose a context menu option 'Resume to here', (perhaps available on the margin of the editor, or in the editor itself when execution is paused).  The user would click on the first line of code after the block of code that he/she wishes to skip (in fact anywhere after the present frame location) and invoke the option. This would cause resuming and stopping at the location in question.  The breakpoint would never be seen in 'breakpoints' or really exist except maybe under the hood. Perhaps it created and automatically removed when the option is invoked.

Kind of a temporary breakpoint, without having to ever create the breakpoint.

Reproducible: Always

Steps to Reproduce:
1.na
Comment 1 Curtis Windatt CLA 2010-12-07 13:36:34 EST
This is already available in the Run To Line action.

See RunToLineActionDelegate in org.eclipse.debug.ui