Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 330972 - edc - inline processing - handle "step out of inline" from first line
Summary: edc - inline processing - handle "step out of inline" from first line
Status: RESOLVED WONTFIX
Alias: None
Product: CDT
Classification: Tools
Component: cdt-debug-edc (show other bugs)
Version: 7.0.1   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Ken Ryall CLA
QA Contact: Ken Ryall CLA
URL:
Whiteboard:
Keywords:
Depends on: 330971
Blocks:
  Show dependency tree
 
Reported: 2010-11-23 15:59 EST by Kirk Beitz CLA
Modified: 2019-12-30 18:39 EST (History)
1 user (show)

See Also:


Attachments
patch to RunControl.java (dependent upon 330971) to properly step out when instrPtr is on 1st instr of inline (3.14 KB, patch)
2010-11-23 15:59 EST, Kirk Beitz CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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/