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

Bug 359089

Summary: [Debugger] Implement "Step Over" and "Step Return"
Product: [Modeling] Epsilon Reporter: Antonio Garcia-Dominguez <agarcdomi>
Component: CoreAssignee: Antonio Garcia-Dominguez <agarcdomi>
Status: REOPENED --- QA Contact:
Severity: enhancement    
Priority: P3 CC: agarcdomi, dkolovos
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:

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.