Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 368410 - Source line BP scoped only to current selected thread
Summary: Source line BP scoped only to current selected thread
Status: NEW
Alias: None
Product: TCF
Classification: Tools
Component: Debug (show other bugs)
Version: 1.0   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact: Eugene Tarassov CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-12 01:00 EST by Scott Tepavich CLA
Modified: 2012-01-13 15:45 EST (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 Scott Tepavich CLA 2012-01-12 01:00:38 EST
The default behavior is not consistant between address breakpoints and source line breakpoints.

Example:

1.) Connect to a target.
2.) Select a thread and bring up both a disassembly and source view for the context.
3.) Set a breakpoint in the disassembly view.  Check the scope.  Note that the scope is set to the connected contexts.
4.) Set a breakpoint in the source view.  Check the scope.  Note that the scope is only for the context in which the BP was planted.

In the above test case, the expected behavior would have been to have all context which are executing code out of the same module, would also be scoped to the BP (or all contexts which are associated with the given memory context).
Comment 1 Eugene Tarassov CLA 2012-01-12 14:17:09 EST
I cannot reproduce. When I try it, source breakpoint is planted in all
contexts which are executing code out of the same module - as expected. What target are you using?
Comment 2 Scott Tepavich CLA 2012-01-13 01:05:44 EST
I tried this with a linux process, and the BP was planted in the context of the process (expected).

My previous target was a hypervisor target.  Something wrong must be occuring there.
Comment 3 Eugene Tarassov CLA 2012-01-13 15:45:55 EST
As I understand, it is same for hypervisor: the breakpoint is planted in the hypervisor process (or address space) and single breakpoint instance handles all hypervisor threads.