Qthreads debugging with ddd.

Posted on 2007-10-04
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
    LVL 1

    Accepted Solution

    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

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


    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    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

    Introduction This article is a continuation of the C/C++ Visual Studio Express debugger series. Part 1 provided a quick start guide in using the debugger. Part 2 focused on additional topics in breakpoints. As your assignments become a little more …
    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 viewer will learn how to pass data into a function in C++. This is one step further in using functions. Instead of only printing text onto the console, the function will be able to perform calculations with argumentents given by the user.
    This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.

    759 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

    14 Experts available now in Live!

    Get 1:1 Help Now