Bug 219163 - [breakpoints] Cannot specify breakpoint filter to not install the filter on any thread
Summary: [breakpoints] Cannot specify breakpoint filter to not install the filter on a...
Status: ASSIGNED
Alias: None
Product: CDT
Classification: Tools
Component: cdt-debug-dsf (show other bugs)
Version: 0 DD 1.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: 202350
  Show dependency tree
 
Reported: 2008-02-15 15:16 EST by Francois Chouinard CLA
Modified: 2020-09-04 15:25 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 Francois Chouinard CLA 2008-02-15 15:16:25 EST
The way the selected threads are reported by the DSF breakpoint extension, there is no way to distinguish "all threads" from "no thread": in both cases the service returns the same thread list value ("null") for a given execution context. In short, when the thread list is returned, there is no way to determine if the breakpoint has to be installed on all the threads or none of them.

This is not a big problem if there is only one process running: to effectively disable the breakpoints, the workaround is to disable the breakpoint from the Breakpoints view and the desired result is easily achieved.

However, in the context of multiple targets, it is possible that the user might want to enable a single back-end breakpoint (in only one thread in one process) and disable all the other ones. In thsi case, there is no easy workaround for the user.