Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 52407 - Debug thread aware breakpoint
Summary: Debug thread aware breakpoint
Status: RESOLVED FIXED
Alias: None
Product: CDT
Classification: Tools
Component: cdt-debug (show other bugs)
Version: 2.0   Edit
Hardware: PC Linux
: P3 enhancement with 1 vote (vote)
Target Milestone: 2.1   Edit
Assignee: Nobody - feel free to take it CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 39920 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-02-18 14:34 EST by Alain Magloire CLA
Modified: 2009-01-12 08:41 EST (History)
7 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alain Magloire CLA 2004-02-18 14:34:13 EST
Support for Thread aware breakpoint
Comment 1 Alain Magloire CLA 2004-02-18 14:35:05 EST
We can still do some stuff in the MI to make this better.
Comment 2 Alain Magloire CLA 2004-02-18 14:47:11 EST
*** Bug 39920 has been marked as a duplicate of this bug. ***
Comment 3 Kleo Hapitas CLA 2004-07-07 16:55:30 EDT
PR was not targeted to any particular release. Changing target milestone to 2.1
Comment 4 Alain Magloire CLA 2004-10-18 14:14:38 EDT
The Core part is completed.
Reassing to Mikhail to have a UI face for this.

For the core we have 1:n scheme.
One CDT/Eclipse Breakpoint may map to n gdb breakpoints
For example, Eclipse/CDT has one breakpoint with the condition
that it stops on thread 1 and thread 2 this will map to 2 breakpoints in gdb

-break-insert -p 1 ...
-break-insert -p 2 ..

Mikhail if any problem in the implementation reassign to me.
Comment 5 Joanne Woo CLA 2004-10-18 15:08:32 EDT
Hi Alain, would you please post the files you modified?  I'd like to backport
the changes to CDT 2.0.2.  Thanks!
Comment 6 Alain Magloire CLA 2004-10-19 11:58:15 EDT
> Hi Alain, would you please post the files you modified?  I'd like to backport
> the changes to CDT 2.0.2.  Thanks!

Maybe on the core side, but probably impossible on the UI side.
On the Core side, the bits are in BreakpointManager.java,
to make this possible, we had to break the CDI api and
moving this to the 2.0.x branch will break binary compatibility.


Comment 7 Nobody - feel free to take it CLA 2004-10-19 12:12:33 EDT
Besides the CDI part changes have made to support UI on the core side. I don't 
think it is easy to backport it to 2.0.
Comment 8 Joanne Woo CLA 2004-10-19 13:51:42 EDT
I checked out some of the core changes yesterday and realized that it's not
feasible to backport to CDT 2.0.2 without breaking API and binary compatibility.
  Thanks, Alain & Mikhail, for your guidance.
Comment 9 Nobody - feel free to take it CLA 2004-10-19 15:08:32 EDT
Completed.