Solved

Problem with thread debuggin

Posted on 2001-08-31
3
197 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 30 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
 
LVL 5

Expert Comment

by:Netminder
ID: 6886378
0

Featured Post

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
automating commands in linux on start up 2 47
Replication of Nagios surveilance data 2 93
Understanding curl command 1 53
Error while installing rpm 1 82
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…
The purpose of this article is to demonstrate how we can upgrade Python from version 2.7.6 to Python 2.7.10 on the Linux Mint operating system. I am using an Oracle Virtual Box where I have installed Linux Mint operating system version 17.2. Once yo…
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.

776 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