Bug 481329 - Watchpoints cannot get enabled after a program restart
Summary: Watchpoints cannot get enabled after a program restart
Status: NEW
Alias: None
Product: CDT
Classification: Tools
Component: cdt-debug-dsf-gdb (show other bugs)
Version: 8.8.0   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact: Jonah Graham CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-11-03 10:27 EST by Marc Khouzam CLA
Modified: 2020-09-04 15:24 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marc Khouzam CLA 2015-11-03 10:27:42 EST
1- launch a debug session
2- create a valid watchpoint and make sure it gets installed
3- restart the program (using the DV context menu)
=> the watchpoint is not installed (bug 481328)
4- step until we reach the same scope as were the watchpoint is valid
5- disable then re-enable the watchpoint

=> the watchpoint does not get installed

Disabling then re-enabling a watchpoint could be a the workaround to bug 481328 which does not automatically install existing watchpoints after a launch, but this workaround does not work after a restart because of the current bug.