public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Richard Fish <bigfish@asmallpond.org>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] OT - Good GUI debugger that can be used for Qt apps
Date: Mon, 21 Nov 2005 08:08:08 -0700	[thread overview]
Message-ID: <7573e9640511210708v61f8a567s165a11652f72fe50@mail.gmail.com> (raw)
In-Reply-To: <1132532854.10316.47.camel@camille.espersunited.com>

On 11/20/05, Michael Sullivan <michael@espersunited.com> wrote:
> I copied my code into a KDevelop project and built it.  I then placed a
> breakpoint on "int main (int argv, char** argc) and selected Start from
> the Debug menu.  It immediately gave me a dialog that said "Program
> received SIGABRT.  Aborted."  It did not tell me where my Segfault came
> from.  Is there a way to get it to tell me, or at least allow me to step
> through my program without instantly shutting down?

That is very strange.  Did you build your program with the '-g'
(debug) option to gcc?

Also try "strace -s256 <programname>".  It will give you an idea of
what system calls your program is making at the time of the segfault,
and maybe give you a starting point of where to look in the code.

-Richard


>
> --
> gentoo-user@gentoo.org mailing list
>
>

-- 
gentoo-user@gentoo.org mailing list



      reply	other threads:[~2005-11-21 15:20 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-11-20 20:52 [gentoo-user] OT - Good GUI debugger that can be used for Qt apps Michael Sullivan
2005-11-20 21:19 ` Richard Fish
2005-11-21  0:27   ` Michael Sullivan
2005-11-21 15:08     ` Richard Fish [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=7573e9640511210708v61f8a567s165a11652f72fe50@mail.gmail.com \
    --to=bigfish@asmallpond.org \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox