Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 359089 - [Debugger] Implement "Step Over" and "Step Return"
Summary: [Debugger] Implement "Step Over" and "Step Return"
Status: REOPENED
Alias: None
Product: Epsilon
Classification: Modeling
Component: Core (show other bugs)
Version: unspecified   Edit
Hardware: PC Linux
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Antonio Garcia-Dominguez CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-27 11:03 EDT by Antonio Garcia-Dominguez CLA
Modified: 2012-06-21 12:17 EDT (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 Antonio Garcia-Dominguez CLA 2011-09-27 11:03:23 EDT
This is one of the pending tasks we had in the Epsilon wiki.

The Epsilon debugger only implements "step into" right now. "Step over" is required to test real-world cases. Right now, users have to work around this by adding an explicit breakpoint and hitting Continue, which is rather awkward.
Comment 1 Antonio Garcia-Dominguez CLA 2012-06-20 17:35:57 EDT
Fixed in SVN r1879.

I went ahead and implemented "Step Return" as well, so I've changed the title of this bug report.
Comment 2 Antonio Garcia-Dominguez CLA 2012-06-21 12:11:09 EDT
Ugh, it seems that the current implementation doesn't let you step over into the body of a for/while/if statement. We'll need to call the new "done" method of ExecutionController more often, it seems.
Comment 3 Antonio Garcia-Dominguez CLA 2012-06-21 12:17:17 EDT
And "step return" currently "returns" from while/if blocks as well, since it relies on the frame stack dropping below a certain number of levels. We'll need to require that those levels are EOL operations or their generic equivalent.