Qthreads debugging with ddd.

Posted on 2007-10-04
Medium Priority
Last Modified: 2008-02-01
I am having problems with debugging my Qthreads;   I get the message "Couldn't get registers; No such process".
I am using gdb 6.0, and ddd 3.3.11
  1) If I set a breakpoint in the thread BEFORE i get to the thread the program dies.
  2) If I don't set a breakpoint in the thread, and have the program get to the point where the QThread is running, and then stop to program elsewhere.   Then do a:
   in ddd:  Status (pulldown) -> Threads        I get "Couldn't get registers.  No such process"
Q1)  In some googles, I ran across that "thread support" should be compiled into gdb.  I assume it come with it enabled. But now I wonder.  How can I find out if my gdb  has thread support in it.?
Q2) How do I debug QThreads with ddd?
Question by:dwcronin

Accepted Solution

mnadeem22 earned 1500 total points
ID: 20016542
I would like to refer you to the following web page, I found a lot of useful information while I was having the similar problems.


Author Comment

ID: 20078214
I would rather have an answer than a link but nobody is answering this question so I'm going to close it.


Featured Post

NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

Question has a verified solution.

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

If you use Adobe Reader X it is possible you can't open OLE PDF documents in the standard. The reason is the 'save box mode' in adobe reader X. Many people think the protected Mode of adobe reader x is only to stop the write access. But this fe…
Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
The viewer will learn additional member functions of the vector class. Specifically, the capacity and swap member functions will be introduced.
The viewer will be introduced to the member functions push_back and pop_back of the vector class. The video will teach the difference between the two as well as how to use each one along with its functionality.
Suggested Courses

850 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