Solved

Problem with thread debuggin

Posted on 2001-08-31
3
195 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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

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 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 demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

760 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now