Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Problem with thread debuggin

Posted on 2001-08-31
3
Medium Priority
?
206 Views
Last Modified: 2010-05-18
I have a problem with gdb and KDevelop's debugger. When I start a thread using pthread_create , gdb things my program has finished . KDevelop's debugger freezes .

Any options ?

0
Comment
Question by:WxW
3 Comments
 
LVL 5

Expert Comment

by:BlackDiamond
ID: 6454732
There is an option in gdb to set before you run.  I don't remember the exact syntax but it is something like "set follow child".  That should cause gdb to follow the child processes.
0
 
LVL 5

Accepted Solution

by:
garboua earned 60 total points
ID: 6461330
or download the smarter version with threads in mind when developed
http://hegel.ittc.ukans.edu/projects/smartgdb/thread-use.html
0

Featured Post

Learn Veeam advantages over legacy backup

Every day, more and more legacy backup customers switch to Veeam. Technologies designed for the client-server era cannot restore any IT service running in the hybrid cloud within seconds. Learn top Veeam advantages over legacy backup and get Veeam for the price of your renewal

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Have you ever been frustrated by having to click seven times in order to retrieve a small bit of information from the web, always the same seven clicks, scrolling down and down until you reach your target? When you know the benefits of the command l…
The purpose of this article is to fix the unknown display problem in Linux Mint operating system. After installing the OS if you see Display monitor is not recognized then we can install "MESA" utilities to fix this problem or we can install additio…
Video by: ITPro.TV
In this episode Don builds upon the troubleshooting techniques by demonstrating how to properly monitor a vSphere deployment to detect problems before they occur. He begins the show using tools found within the vSphere suite as ends the show demonst…
We’ve all felt that sense of false security before—locking down external access to a database or component and feeling like we’ve done all we need to do to secure company data. But that feeling is fleeting. Attacks these days can happen in many w…

877 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question