Solved

Problem with thread debuggin

Posted on 2001-08-31
3
201 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

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 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…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…

738 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