Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 362274 - "User request" as stop reason after 'step return'
Summary: "User request" as stop reason after 'step return'
Status: RESOLVED FIXED
Alias: None
Product: CDT
Classification: Tools
Component: cdt-debug-dsf-gdb (show other bugs)
Version: 8.0   Edit
Hardware: PC Windows Server 2003
: P3 normal (vote)
Target Milestone: 8.0.2   Edit
Assignee: Marc Khouzam CLA
QA Contact: Marc Khouzam CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-28 03:54 EDT by Vladimir Prus CLA
Modified: 2014-01-29 22:58 EST (History)
2 users (show)

See Also:


Attachments
The fix (1.45 KB, patch)
2011-10-28 04:15 EDT, Vladimir Prus CLA
cdtdoug: iplog+
Details | Diff
Fix to include non-stop case (4.11 KB, patch)
2011-11-02 10:45 EDT, Marc Khouzam CLA
marc.khouzam: iplog-
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Vladimir Prus CLA 2011-10-28 03:54:49 EDT
Build Identifier: 

Create a project where some function is called, build and debug. Step into a function. Execute the "Step Return" command. Observe that the debug view now say "Suspended: User Request". Expected effect -- it say either "Suspended: Step", or "Suspended: Finish".

Patch is forthcoming.

Reproducible: Always
Comment 1 Vladimir Prus CLA 2011-10-28 04:15:43 EDT
Created attachment 206115 [details]
The fix
Comment 2 Marc Khouzam CLA 2011-11-02 10:45:19 EDT
Created attachment 206335 [details]
Fix to include non-stop case


Attached is the patch I committed to master and cdt_8_0.  I added your copyright notice, included the non-stop case, and fixed a typo in your name that I found in another copyright.


Thanks for the fix!
Comment 3 Marc Khouzam CLA 2011-11-02 10:45:33 EDT
Fixed
Comment 4 CDT Genie CLA 2011-11-02 11:23:04 EDT
*** cdt git genie on behalf of Vladimir Prus ***

    Bug 362274: Use "Step" reason after 'step return' operation

[*] http://git.eclipse.org/c/cdt/org.eclipse.cdt.git/commit/?id=09874c7c094e64592e21804830beae69fc3eb95f
Comment 5 CDT Genie CLA 2011-11-02 11:23:12 EDT
*** cdt git genie on behalf of Vladimir Prus ***

    Bug 362274: Use "Step" reason after 'step return' operation

[*] http://git.eclipse.org/c/cdt/org.eclipse.cdt.git/commit/?id=140b8ab73eef48fc7caf93c45019e0a573bbcb04
Comment 6 Vladimir Prus CLA 2011-11-02 13:25:01 EDT
Thanks Marc!