From: John Mills <johnmills@speakeasy.net>
To: Insight Users <insight@sourceware.org>
Subject: Amended Re: X11 stability with insight & gdb
Date: Fri, 26 Oct 2007 14:27:00 -0000 [thread overview]
Message-ID: <Pine.LNX.4.44.0710260917130.18568-100000@otter.localdomain> (raw)
In-Reply-To: <Pine.LNX.4.44.0710260842220.18442-100000@otter.localdomain>
Hello -
I tried another approach and have more data.
If I start 'insight' or 'source-navigator' from a console (xterm)
command and _don't_ start a separate console from 'insight' (yielding a
"read-only" xterm it seems), then my original console stays 'live' and I
can run the application successfully and interrupt it either from the GUI
or from the console.
Is there a way to have 'insight' start a "true" console window for my
application, or is a foreground startup from a console command line the
best way to debug a native app?
Thanks.
- John Mills
On Fri, 26 Oct 2007, John Mills wrote:
...
> I'm starting 'insight' from 'source-navigator' as a 'gdb' front end, and
> using it to debug a native, multi-thread console application that runs in
> my Linux environment.
> Starting, running, and stepping through my application all work fine as
> far as I can see. When I try to _stop_ the running program with the
> run/stop icon, however, it crashes my X11 environment and ends my login
> session. When I try to stop the program from the 'gdb' window, I get a
> 'Debugger busy' message and am ignored. When I try to stop the program
> with a '^C' signal from insight's console window I am ignored.
...
>>---> This may be the issue>>--->
> I start 'source-navigator' from a GUI launcher in X11, start 'insight'
> from the 'Debugger' panel in 'source-navigator', and start 'gdb' as an
> insight configuration setting.
next prev parent reply other threads:[~2007-10-26 14:27 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-10-26 15:43 John Mills
2007-10-26 14:27 ` John Mills [this message]
2007-10-26 17:20 ` Amended " Keith Seitz
2007-10-26 20:40 ` John Mills
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=Pine.LNX.4.44.0710260917130.18568-100000@otter.localdomain \
--to=johnmills@speakeasy.net \
--cc=insight@sourceware.org \
--cc=john.m.mills@alum.mit.edu \
/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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).