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

Bug 330972

Summary: edc - inline processing - handle "step out of inline" from first line
Product: [Tools] CDT Reporter: Kirk Beitz <kirk.beitz>
Component: cdt-debug-edcAssignee: Ken Ryall <ken.ryall>
Status: RESOLVED WONTFIX QA Contact: Ken Ryall <ken.ryall>
Severity: normal    
Priority: P3 CC: cdtdoug
Version: 7.0.1   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:
Bug Depends on: 330971    
Bug Blocks:    
Attachments:
Description Flags
patch to RunControl.java (dependent upon 330971) to properly step out when instrPtr is on 1st instr of inline none

Description Kirk Beitz CLA 2010-11-23 15:59:58 EST
Created attachment 183714 [details]
patch to RunControl.java (dependent upon 330971) to properly step out when instrPtr is on 1st instr of inline

there was special case code in ModuleLineEntryProvider.java that determined if the instruction pointer was standing on the first instruction of an inline (i.e. as though it were standing at the point of call of a non-inline) so that step over and step out would work properly.

Bug 330971 moves that code to Stack.java in a new function isInlineShouldBeHidden().

the attached patch makes use of that new function to better deal with the case of stepping out where stepping on the first instruction of an inline.
Comment 1 Jonah Graham CLA 2019-12-30 18:39:36 EST
(this is part of a batch change)

The Eclipse CDT EDC (https://wiki.eclipse.org/CDT/cdt-debug-edc) is now obsolete and has not had any active development since 2011. Therefore the still open bugs are being marked as wontfix.

The git repo for the project still exists for posterity at https://git.eclipse.org/c/cdt/org.eclipse.cdt.edc.git/