Bug 325707 - Breakpoints in a shared lib are not installed correctly on re-run
Summary: Breakpoints in a shared lib are not installed correctly on re-run
Status: NEW
Alias: None
Product: CDT
Classification: Tools
Component: cdt-debug (show other bugs)
Version: 7.0   Edit
Hardware: PC Linux
: P3 major (vote)
Target Milestone: ---   Edit
Assignee: cdt-debug-inbox@eclipse.org CLA
QA Contact: Jonah Graham CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-19 21:59 EDT by Jim Donelson CLA
Modified: 2020-09-04 15:26 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 Jim Donelson CLA 2010-09-19 21:59:57 EDT
You have to disabel an then reenable break points in a shared lib each time you re-start debugging or the break point "fails to install". Break points must be re examined after each shared lib is loaded.


-- Configuration Details --
Product: Eclipse 1.3.0.20100617-0520 (org.eclipse.epp.package.cpp.product)
Installed Features:
 org.eclipse.platform 3.6.0.v20100602-9gF78GpqFt6trOGhL60z0oEx3fz-JKNwxPY
Comment 1 Marc-André Laperle CLA 2010-09-20 00:38:39 EDT
Hi Jim, are you using DSF-GDB (in your debug configuration)? If so, take a look at bug 248595. It should work in recent 8.0 builds, you can get a recent build here:

http://download.eclipse.org/tools/cdt/builds/8.0.0/index.html

If you don't want to change to 8.0 (which is still in development), you could switch to Standard Create Process Launcher (CDI) in your debug configuration.
Comment 2 Jim Donelson CLA 2010-09-20 04:13:42 EDT
(In reply to comment #1)
> Hi Jim, are you using DSF-GDB (in your debug configuration)? If so, take a look
> at bug 248595. It should work in recent 8.0 builds, you can get a recent build
> here:
> 
> http://download.eclipse.org/tools/cdt/builds/8.0.0/index.html
> 
> If you don't want to change to 8.0 (which is still in development), you could
> switch to Standard Create Process Launcher (CDI) in your debug configuration.

Marc,
Thanks for the tip. I see this issue has a long history. When I get  chance I will try an 8.0 build. Of course, I am use to funky debuggers, and at least I could get the breakpoint, it's if I forgot to disable and re-enable it on a run, it skips the break point all together, so you think it never hit the code...
Comment 3 Jonah Graham CLA 2019-12-30 18:54:25 EST
This bug was assigned and targeted at a now released milestone (or Future or Next that isn't being used by CDT). As that milestone has now passed, the milestone field has been cleared. If this bug has been fixed, please set the milestone to the version it was fixed in and mark the bug as resolved.