- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Breakpoint deferred and never reached in debugger
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-18-2010 06:59 AM
тАО02-18-2010 06:59 AM
I am trying to set up a breakpoint in one of the source files . When I set the breakpoint it says "Breakpoint deferred until a shared library containing "
When i try and run the program the breakpoint is never reached in the debugger.
So i tried using printf and I put a printf statement in the same file at the same line number and re-compiled the binaries . Now I can see the printf statements being displayed on the console, but the breakpoint is still never achieved by the debugger.
Please advise.
Thanks,
Adarsh.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-18-2010 08:53 AM
тАО02-18-2010 08:53 AM
Re: Breakpoint deferred and never reached in debugger
Or use absolute addresses "b * address".
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-18-2010 01:18 PM
тАО02-18-2010 01:18 PM
Re: Breakpoint deferred and never reached in debugger
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-18-2010 08:57 PM
тАО02-18-2010 08:57 PM
SolutionAs per my understanding it is a shared library code where you are trying to put the breakpoint . This library loads and executes but the breakpoint stays deferred and so is not hit.
Let me know if I am wrong somewhere.
As Dennis suggested you can try different ways of putting the breakpoint. Try list command to display the these source lines during the debugger session.
Try setting catch point "catch load
If nothing works send us the session o/p with all the details and if possible a test-case so that we can reproduce it at our end. Send us at wdb-help@cup.hp.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-18-2010 10:58 PM
тАО02-18-2010 10:58 PM
Re: Breakpoint deferred and never reached in debugger
Anyways to debug multiprocessed applications.
Thanks,
Adarsh.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-19-2010 12:13 AM
тАО02-19-2010 12:13 AM
Re: Breakpoint deferred and never reached in debugger
You can try the "set follow-fork-mode" option.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-21-2010 07:45 PM
тАО02-21-2010 07:45 PM
Re: Breakpoint deferred and never reached in debugger
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-22-2010 11:14 PM
тАО02-22-2010 11:14 PM
Re: Breakpoint deferred and never reached in debugger
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-23-2010 11:30 AM
тАО02-23-2010 11:30 AM
Re: Breakpoint deferred and never reached in debugger
Which? The fork or the not hitting the breakpoint?
>where can I find this .gdbinit file?
In the current directory or in ~/.gdbinit.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-23-2010 07:22 PM
тАО02-23-2010 07:22 PM