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

Bug 365776

Summary: [breakpoints] Add breakpoint action to toggle reverse debugging
Product: [Tools] CDT Reporter: Marc Khouzam <marc.khouzam>
Component: cdt-debug-dsf-gdbAssignee: Marc Dumais <marc.dumais>
Status: RESOLVED FIXED QA Contact: Marc Khouzam <marc.khouzam>
Severity: enhancement    
Priority: P3 CC: cdtdoug, pascal, pawel.1.piech
Version: 8.0   
Target Milestone: 8.2   
Hardware: PC   
OS: Linux   
Whiteboard:

Description Marc Khouzam CLA 2011-12-06 12:25:00 EST
A nice suggestion from Pascal Rapicault at the Eclipse Demo Camp in Montreal:

Allow for a breakpoint action that will enable the recording for reverse debugging.  That way, a user can set a breakpoint a little before the bug occurs and set the bp to enable reverse debugging.

This is valuable because enabling recording from the start often affects performance much too much; instead it is recommended to only turn on reverse once in the vicinity of the bug.
Comment 1 Marc Dumais CLA 2012-11-30 14:56:37 EST
Hi!

I posted a patch on gerrit for this item: 

https://git.eclipse.org/r/8982

Thanks,

Marc
Comment 2 Marc Khouzam CLA 2012-12-12 14:23:17 EST
(In reply to comment #1)

> https://git.eclipse.org/r/8982

Thanks for this.  Feature works well with a couple of minor changes needed.  I posted them on Gerrit.
Comment 3 Marc Khouzam CLA 2012-12-13 14:53:09 EST
Thanks for the udpate.  I committed it to master.

Can you update the N&N with this new feature?
http://wiki.eclipse.org/CDT/User/NewIn82
Comment 4 Marc Dumais CLA 2012-12-13 14:58:34 EST
w/r to the patch submitted in this bug, I declare the following:

1) that I am authorized to submit this code change
2) that the code is 100% my own work